Details
-
Bug
-
Resolution: Duplicate
-
High
-
5.1.0beta1
-
Server OS: Red Hat 6.4
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 18.0.1
Description
Restoring an object from trash to more than 1 location will throw the error:
Error: There are more then one main_node for objectID: 67 Apr 09 2013 16:20:56 array(2) { [0]=> array(1) { ["node_id"]=> string(2) "73" } [1]=> array(1) { ["node_id"]=> string(2) "74" } }
How to reproduce
Steps: 1 - log into admin2 with "Admin" account 2 - click at "Content structure" (top menu) 3 - Add 2 folders with names "Folder 1" and "Folder 2" 4 - create an article with name "Art for test" and summary "This is the summary" 5 - remove "Art for test" (check the "move for trash" checkbox if not checked already) 6 - click on trash link (left menu) 7 - click on the pencil in the right side "Art for test" row 8 - choose "Select a location" 9 - check both of the folders "Folder 1" and "Folder 2" 10- click "OK" 11- verify on debug redirect the error mentioned above
edit:
forgot to mention that after the redirect from the page we get this error:
The requested page could not be displayed. (2) The resource you requested was not found. Possible reasons: The ID number or the name of the resource was misspelled. Try changing the URL. The resource is no longer available.
Attachments
Issue Links
- is duplicated by
-
EZP-20412 Can not restore from trash an item to 2 locations
- Closed