In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
392 [In-Portal CMS] Data Management bug report always 2009-10-15 01:59 2012-07-25 05:33
alex  
alex  
normal  
closed 5.0.1  
fixed  
 
none 5.2.0-B1  
2
0000392: Section renaming using "Section Properties" button causes one more section to be created
1. Go to Front-End in "Content Mode" and use "Section Properties" button (on top).
2. Change section name, so filename will be change too.
3. You end up on newly created page inside page you edited and named as old page name and created by "Guest" user.

This all happens because old page url is stored in opener_stack and when page url is changed, then opener_stack is not updated.

New page is created by Guest user (current user on Front-End) in case, when administrator visits url of page, that doesn't exist. I doubt, that such functionality is required at all.
I've attached extended version of CategoryEventHandler class, where such problem is fixed (the one with opener stack), see code, that includes "opener" or "filename" words in it.
related to 0000493closed  (5.2.0)alex Redirect template (kEvent::redirect attribute) has no effect, when popups are used 
parent of 0001171closed  (5.2.0)alex Fatal when trying to Relate Catalog Items 
? e_category_eh.php (21,419) 2009-10-15 01:59
http://tracker.in-portal.org/file_download.php?file_id=113&type=bug
patch page_rename_content_mode_fix.patch (28,003) 2011-10-15 12:29
http://tracker.in-portal.org/file_download.php?file_id=1236&type=bug
patch page_rename_content_mode_modules_fix.patch (936) 2011-10-19 03:35
http://tracker.in-portal.org/file_download.php?file_id=1259&type=bug
patch page_rename_content_mode_fix_addon.patch (2,414) 2011-10-19 03:41
http://tracker.in-portal.org/file_download.php?file_id=1260&type=bug
Issue History
2012-07-25 05:33 alex Note Added: 0005120
2012-07-25 05:33 alex Status resolved => closed
2011-11-24 03:38 alex Relationship added parent of 0001171
2011-10-22 05:26 alex Estimate Points => 2
2011-10-19 03:43 alex Changeset attached 5.2.x r14680
2011-10-19 03:42 alex Note Edited: 0004075 bug_revision_view_page.php?bugnote_id=0004075#r886
2011-10-19 03:41 alex File Added: page_rename_content_mode_fix_addon.patch
2011-10-19 03:38 alex Changeset attached 5.2.x r14679
2011-10-19 03:37 alex Note Added: 0004075
2011-10-19 03:35 alex File Added: page_rename_content_mode_modules_fix.patch
2011-10-19 03:26 alex Note Added: 0004074
2011-10-15 12:31 alex Changeset attached 5.2.x r14664
2011-10-15 12:31 alex Note Added: 0004050
2011-10-15 12:31 alex Status reviewed and tested => resolved
2011-10-15 12:31 alex Fixed in Version => 5.2.0-B1
2011-10-15 12:31 alex Resolution open => fixed
2011-10-15 12:31 alex Assigned To !COMMUNITY => alex
2011-10-15 12:30 alex Note Added: 0004049
2011-10-15 12:30 alex Status needs testing => reviewed and tested
2011-10-15 12:30 alex Time Estimate Removed 1 =>
2011-10-15 12:30 alex Assigned To => !COMMUNITY
2011-10-15 12:30 alex Developer => alex
2011-10-15 12:30 alex Status active => needs testing
2011-10-15 12:30 alex Relationship added related to 0000493
2011-10-15 12:29 alex File Added: page_rename_content_mode_fix.patch
2011-09-27 05:08 alex Time Estimate Added 1
2011-09-23 21:58 Dmitry Target Version Icebox => 5.2.0
2009-10-15 01:59 alex Target Version => Icebox
2009-10-15 01:59 alex New Issue
2009-10-15 01:59 alex File Added: e_category_eh.php

Notes
(0004049)
alex   
2011-10-15 12:30   
Will test all together later.
(0004050)
alex   
2011-10-15 12:31   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0000392: Section renaming using "Section Properties" button causes one more section to be created
(0004074)
alex   
2011-10-19 03:26   
I also created kOpenerStack class, that allows to easily manage any window's opener stack content without a risk of breaking it.

This class is already used in all In-Portal's opener stack related activities.
(0004075)
alex   
2011-10-19 03:37   
(edited on: 2011-10-19 03:42)
Patch "page_rename_content_mode_modules_fix.patch" contains openerStackPush usage fix for In-Commerce module. It wasn't included into initial patch, since the file was involved in another refactoring too at the moment.

Same problem with "page_rename_content_mode_fix_addon.patch" patch not being commited together with the others.

(0005120)
alex   
2012-07-25 05:33   
Since 5.2.0 version was released.