In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000539 [In-Portal CMS] Front End bug report always 2010-01-12 10:44 2011-03-14 02:10
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.0.3-B1 Product Version 5.0.2
  Target Version 5.0.3 Product Build
Time EstimateNo estimate
Summary 0000539: Incorrect rewrite listener processing order
Description Rewrite listeners are processed in reversed order during url building. During url parsing all seems to be normal, except for rewrite listeners are sorted using string logic, not numbers.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9146dc4d5a2a76cc
Change Log Message
Estimate Points 0
Attached Files patch file icon rewrite_listener_ordering_fix.patch [^] (1,207 bytes) 2010-01-12 10:44 [Show Content]
zip file icon custom.zip [^] (2,585 bytes) 2010-03-11 06:10

- Relationships Relation Graph ] Dependency Graph ]
child of 0000098closed (5.0.1)alex Redo Mod-Rewrite for Better Flexibility 

-  Notes
User avatar (0001494)
Dmitry (manager)
2010-02-26 18:55

Please create a test scenario for this task.
User avatar (0001552)
alex (manager)
2010-03-11 06:14

I've attached "custom.zip" file, that (when unpacked) contains new files for "custom" module. Unpack it in your installation and visit this url:

http://www.site.com/admin/index.php?t=custom/listener_test

You will see this "http://www.site.com/admin/index/second/first.html" result before patch is applied and this "http://www.site.com/admin/index/first/second.html" after it's applied.

Template contents is:
<inp2:m_Link template="index" pass="m,prefix-b,prefix-a" __MOD_REWRITE__="1"/>

Patch goal is force mod-rewrite system to build url using prefix order, used when rewrite listener was registered and not count or prefix order in "pass" parameter of "m_Link" tag.
User avatar (0001655)
Dmitry (manager)
2010-03-15 19:24

Tested okay
User avatar (0001657)
alex (manager)
2010-03-17 03:46

Fix committed to 5.0.x branch. Commit Message:

Fixes 0000539: Incorrect rewrite listener processing order
User avatar (0002139)
alex (manager)
2010-05-11 03:00

Closing all tasks from released versions.

- Related Changesets
In-Portal CMS: 5.0.x r13242
Timestamp: 2010-03-17 03:46:21
Author: alex
Details ] Diff ]
Fixes 0000539: Incorrect rewrite listener processing order
mod - /in-portal/branches/5.0.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/kernel/utility/unit_config_reader.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-03-14 02:10 alex Relationship added child of 0000098
2010-05-11 03:00 alex Note Added: 0002139
2010-05-11 03:00 alex Status resolved => closed
2010-03-17 03:46 alex Note Added: 0001657
2010-03-17 03:46 alex Status reviewed and tested => resolved
2010-03-17 03:46 alex Fixed in Version => 5.0.3-B1
2010-03-17 03:46 alex Resolution open => fixed
2010-03-17 03:46 alex Assigned To !COMMUNITY => alex
2010-03-17 03:46 alex Changeset attached 5.0.x r13242
2010-03-15 19:25 Dmitry Assigned To Dmitry => !COMMUNITY
2010-03-15 19:25 Dmitry Developer Dmitry => alex
2010-03-15 19:24 Dmitry Note Added: 0001655
2010-03-15 19:24 Dmitry Status needs testing => reviewed and tested
2010-03-15 19:24 Dmitry Developer alex => Dmitry
2010-03-15 19:24 Dmitry Status needs work => needs testing
2010-03-15 19:24 Dmitry Status needs feedback => needs work
2010-03-11 06:14 alex Note Added: 0001552
2010-03-11 06:14 alex Assigned To alex => Dmitry
2010-03-11 06:10 alex File Added: custom.zip
2010-02-26 18:55 Dmitry Note Added: 0001494
2010-02-26 18:55 Dmitry Assigned To !COMMUNITY => alex
2010-02-26 18:55 Dmitry Status needs testing => needs feedback
2010-02-26 18:55 Dmitry Developer => alex
2010-01-12 10:45 alex Assigned To => !COMMUNITY
2010-01-12 10:45 alex Status active => needs testing
2010-01-12 10:45 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9146dc4d5a2a76cc
2010-01-12 10:45 alex Target Version => 5.0.3
2010-01-12 10:44 alex New Issue
2010-01-12 10:44 alex File Added: rewrite_listener_ordering_fix.patch



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker