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 Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001288 [In-Portal CMS] Optimization feature request N/A 2012-05-17 04:44 2012-07-25 05:30
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-RC1
Status closed Product Version 5.2.0-B1 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001288: Improvements to rewrite listeners
Description Since rewrite listeners were first introduced in 0000098 I we've used them on several projects. And I wanted to share some improvements we've done with the community.

That includes following changes to widget rewrite listener (in Development Kit module):
1. reduced SQL count when building url because of actual url part passed to rewrite builder right from $object (see WidgetTagProcessor::ItemLink tag)
2. always use physical template when building url when deciding whatever to include it in url or not (when it's default item detail template)
3. allow for rewrite parser to intellectually search for url part it require ignoring changes made to other parts of url:
* worked before: "/widgets/widget-filename.html"
* works now: "/text-before/widgets/widget-filename/text-after"
4. easily check if there are unparsed url parts and there are none then set rewrite parser default item detail template
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/wN8rU0rqTT0/discussion
Change Log Message Simplifies working with urls
Estimate Points 1
Attached Files patch file icon rewrite_listener_improvements_core.patch [^] (513 bytes) 2012-05-17 04:44 [Show Content]
patch file icon rewrite_listener_improvements_modules.patch [^] (20,228 bytes) 2012-05-17 04:44 [Show Content]

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

-  Notes
User avatar (0004647)
alex (manager)
2012-05-17 04:46

Will test all together later.
User avatar (0004648)
alex (manager)
2012-05-17 04:47

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001288: Improvements to rewrite listeners
User avatar (0004900)
alex (manager)
2012-07-25 05:30

Since 5.2.0/1.2.0 versions was released.

- Related Changesets
In-Portal CMS: 5.2.x r15343
Timestamp: 2012-05-17 04:47:15
Author: alex
Details ] Diff ]
Fixes 0001288: Improvements to rewrite listeners
mod - /in-portal/branches/5.2.x/core/kernel/managers/rewrite_url_processor.php Diff ] File ]
Modules :: Custom: 1.2.x r15342
Timestamp: 2012-05-17 04:47:00
Author: alex
Details ] Diff ]
Bug 0001288: Improvements to rewrite listeners
mod - /modules/custom/branches/1.2.x/units/widgets/widget_eh.php Diff ] File ]
mod - /modules/custom/branches/1.2.x/units/widgets/widget_tp.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:30 alex Note Added: 0004900
2012-07-25 05:30 alex Status resolved => closed
2012-05-17 04:47 alex Note Added: 0004648
2012-05-17 04:47 alex Status reviewed and tested => resolved
2012-05-17 04:47 alex Fixed in Version => 5.2.0-RC1
2012-05-17 04:47 alex Resolution open => fixed
2012-05-17 04:47 alex Assigned To !COMMUNITY => alex
2012-05-17 04:47 alex Changeset attached 5.2.x r15343
2012-05-17 04:47 alex Changeset attached 1.2.x r15342
2012-05-17 04:46 alex Note Added: 0004647
2012-05-17 04:46 alex Status needs testing => reviewed and tested
2012-05-17 04:46 alex Assigned To => !COMMUNITY
2012-05-17 04:46 alex Developer => alex
2012-05-17 04:46 alex Status active => needs testing
2012-05-17 04:46 alex Reference => https://groups.google.com/d/topic/in-portal-dev/wN8rU0rqTT0/discussion
2012-05-17 04:44 alex Relationship added child of 0000098
2012-05-17 04:44 alex File Added: rewrite_listener_improvements_modules.patch
2012-05-17 04:44 alex New Issue
2012-05-17 04:44 alex File Added: rewrite_listener_improvements_core.patch
2012-05-17 04:44 alex Change Log Message => Simplifies working with urls
2012-05-17 04:44 alex Estimate Points => 1



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

Powered by Mantis Bugtracker