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
0000392 [In-Portal CMS] Data Management bug report always 2009-10-15 01:59 2012-07-25 05:33
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B1
Status closed Product Version 5.0.1 Target Version 5.2.0
Time EstimateNo estimate
Summary 0000392: Section renaming using "Section Properties" button causes one more section to be created
Description 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.
Additional Information 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.
Tags No tags attached.
Reference
Change Log Message
Estimate Points 2
Attached Files ? file icon e_category_eh.php [^] (21,419 bytes) 2009-10-15 01:59
patch file icon page_rename_content_mode_fix.patch [^] (28,003 bytes) 2011-10-15 12:29 [Show Content]
patch file icon page_rename_content_mode_modules_fix.patch [^] (936 bytes) 2011-10-19 03:35 [Show Content]
patch file icon page_rename_content_mode_fix_addon.patch [^] (2,414 bytes) 2011-10-19 03:41 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
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 

-  Notes
User avatar (0004049)
alex (manager)
2011-10-15 12:30

Will test all together later.
User avatar (0004050)
alex (manager)
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
User avatar (0004074)
alex (manager)
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.
User avatar (0004075)
alex (manager)
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.

User avatar (0005120)
alex (manager)
2012-07-25 05:33

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r14680
Timestamp: 2011-10-19 03:43:18
Author: alex
Details ] Diff ]
Bug 0000392: Section renaming using "Section Properties" button causes one more section to be created
1. usage case
mod - /in-portal/branches/5.2.x/core/units/relationship/relationship_event_handler.php Diff ] File ]
Modules :: In-Commerce: 5.2.x r14679
Timestamp: 2011-10-19 03:38:22
Author: alex
Details ] Diff ]
Bug 0000392: Section renaming using "Section Properties" button causes one more section to be created
mod - /w/in-commerce/branches/5.2.x/units/order_items/order_items_event_handler.php Diff ] File ]
In-Portal CMS: 5.2.x r14664
Timestamp: 2011-10-15 12:31:37
Author: alex
Details ] Diff ]
Fixes 0000392: Section renaming using "Section Properties" button causes one more section to be created
mod - /in-portal/branches/5.2.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/event_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/globals.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/managers/request_manager.php Diff ] File ]
add - /in-portal/branches/5.2.x/core/kernel/utility/opener_stack.php File ]
mod - /in-portal/branches/5.2.x/core/units/categories/categories_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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 View Revisions
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



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

Powered by Mantis Bugtracker