Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
4.6.0
-
None
-
Operating System: GNU/Linux
PHP Version: 5.2.14
Description
Links are not correct in "Original Placement" column of Trash. It seems to be a mysterious bug: When i add these lines to two lines to design/admin2/templates/content/trash.tpl after line 68:
{debug-log var=$tObjects.item.original_parent msg='Original parent (first try)'} {debug-log var=$tObjects.item.original_parent msg='Original parent (second try)'}The contents of the debug.log file is not as i expect:
I can see the object for the first log message, but nothing for the second.
Steps to reproduce
1. Create a new folder object under the root node in the content tree. (Fill in the required fields only.)
2. Create a new article object under this new folder. (Fill in the required fields only.)
3. Remove the new article. Make sure that the "Move to trash" checkbox is ticked.
4. Go to the trash. The original parent link is broken. (It points to http://testsite.com/site_admin instead of http://testsite.com/site_admin/test_folder)