In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
677 [In-Portal CMS] Admin Interfaces bug report always 2010-03-30 07:33 2010-05-11 02:59
alex  
alex  
normal  
closed 5.0.3-B1  
fixed  
 
none 5.0.3-B2  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/b4916a923dc26f5f
0
0000677: Category tree (via ajax) in administrative console is not complete, when symlinks are set
Category tree (via ajax) in administrative console is not complete, when symlinks are set. When ajax request is made to get category children it gets children from symlinked category instead.

It seems, that using SymLinkCategoryId field inside administrative console for link building is globally a bad idea, since there is no way to get to need category from tree to change that symlink for example.

What symlinks are (field "Points To Section" on section editing page)? They makes you go to other (symlinked) category, when you click to enter original category, where you have set "Points To Section" field. The only useful purpose is to make menus, where top level menu item upon clicking will lead to one of their sub-menus.

We by mistake assumed, that such behavior should also be applied in administrative console and especially in catalog tree (for category url building and sub-category via ajax). Here is the example (see a picture).

When you don't use symlinks, then you see sections that are in black. When A section points to D section and E section points to M section, then you see only sections that have red circles around them and don't see any structure in between.
parent of 0000797closed  (5.1.1)alex Incorrect section content is displayed for symlinked sections 
patch dont_use_symlinks_for_category_tree_load_v2.patch (2,318) 2010-03-30 07:33
http://tracker.in-portal.org/file_download.php?file_id=430&type=bug
jpg symlink_section_tree_proble.jpg (39,514) 2010-03-30 07:34
http://tracker.in-portal.org/file_download.php?file_id=431&type=bug
jpg
Issue History
2010-08-29 05:31 alex Relationship added parent of 0000797
2010-05-11 02:59 alex Note Added: 0002096
2010-05-11 02:59 alex Status resolved => closed
2010-04-06 03:16 alex Note Added: 0001810
2010-04-06 03:16 alex Status reviewed and tested => resolved
2010-04-06 03:16 alex Fixed in Version => 5.0.3-B2
2010-04-06 03:16 alex Resolution open => fixed
2010-04-06 03:16 alex Assigned To !COMMUNITY => alex
2010-04-06 03:16 alex Changeset attached 5.0.x r13341
2010-04-03 22:00 Dmitry Note Added: 0001766
2010-04-03 22:00 Dmitry Status needs testing => reviewed and tested
2010-03-30 07:34 alex Assigned To => !COMMUNITY
2010-03-30 07:34 alex Developer => alex
2010-03-30 07:34 alex Status active => needs testing
2010-03-30 07:34 alex File Added: symlink_section_tree_proble.jpg
2010-03-30 07:33 alex New Issue
2010-03-30 07:33 alex File Added: dont_use_symlinks_for_category_tree_load_v2.patch
2010-03-30 07:33 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/b4916a923dc26f5f

Notes
(0001766)
Dmitry   
2010-04-03 22:00   
Patch tested good!
(0001810)
alex   
2010-04-06 03:16   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000677: Category tree (via ajax) in administrative console is not complete, when symlinks are set
(0002096)
alex   
2010-05-11 02:59   
Closing all tasks from released versions.