In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1298 [In-Portal CMS] Front End bug report always 2012-05-29 03:49 2012-07-25 05:30
alex  
alex  
normal  
closed 5.2.0-B3  
fixed  
 
none 5.2.0-RC1  
https://groups.google.com/d/topic/in-portal-bugs/16SHN6bDGW4/discussion
Removes useless index_file parameter from shortcut links in "Structure & Data" section
1
0001298: Useless "&index_file=index.php" in shortcut links in "Structure & Data"
In-Portal have shortcut links near each item in catalog in Admin Console. These links allow to quickly view item detail page on Front-End.

Since links are built from Admin Console into Front-End theme, then we add "index_file" => "index.php" parameter to convert /admin/index.php url part just into /index.php.
However this parameter is absolutely ignored when mod-rewrite is enabled resulting it's being present as-is in final url (e.g. ....&index_file=index.php).


Usually it's not a big problem, since once you've enabled mod-rewrite on website you most likely won't disable it, but since you can't really change behavior behind PageBrowseLink tags (used to build these shortcut links), then these tags should be self-aware and always build nice url themselves.
patch index_php_in_catalog_shortcuts.patch (1,714) 2012-05-29 03:49
http://tracker.in-portal.org/file_download.php?file_id=1674&type=bug
Issue History
2012-07-25 05:30 alex Note Added: 0004890
2012-07-25 05:30 alex Status resolved => closed
2012-05-29 03:52 alex Changeset attached 5.2.x r15360
2012-05-29 03:52 alex Note Added: 0004665
2012-05-29 03:52 alex Status reviewed and tested => resolved
2012-05-29 03:52 alex Fixed in Version => 5.2.0-RC1
2012-05-29 03:52 alex Resolution open => fixed
2012-05-29 03:52 alex Assigned To !COMMUNITY => alex
2012-05-29 03:51 alex Note Added: 0004664
2012-05-29 03:51 alex Status needs testing => reviewed and tested
2012-05-29 03:50 alex Assigned To => !COMMUNITY
2012-05-29 03:50 alex Developer => alex
2012-05-29 03:50 alex Status active => needs testing
2012-05-29 03:50 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/16SHN6bDGW4/discussion
2012-05-29 03:49 alex New Issue
2012-05-29 03:49 alex File Added: index_php_in_catalog_shortcuts.patch
2012-05-29 03:49 alex Change Log Message => Removes useless index_file parameter from shortcut links in "Structure & Data" section
2012-05-29 03:49 alex Estimate Points => 1

Notes
(0004664)
alex   
2012-05-29 03:51   
Will test all together later.
(0004665)
alex   
2012-05-29 03:52   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001298: Useless "&index_file=index.php" in shortcut links in "Structure & Data"
(0004890)
alex   
2012-07-25 05:30   
Since 5.2.0/1.2.0 versions was released.