Details
-
Bug
-
Resolution: Fixed
-
High
-
5.1.0beta1
-
Server OS: Red Hat 6.4
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 18.0.1Server OS: Debian
PHP: 5.3.22
Database: PostgreSQL 8.4.13
Browser: Firefox 18.0.1
Description
Removing an object to trash and then restoring it will throw an exception
(as referred on Environment, I've tested it on RH and Deb with MySQL and PostgreSQL)
steps to reproduce 1 - log into admin2 interface with "admin" account 2 - click on "Content struture" link 3 - click create new then choose "Folder" 4 - fill with whatever 5 - click on "Send for publishing" button 6 - check the checkbox near the newly created folder 7 - click on "More options" button choose "Remove selected" 8 - if not checked the "Move to trash" option, check it 9 - click "Ok" button 10- click on "Trash" link on the left sidebar 11- click on "Pencil" button on the same row of the removed folder 12- choose "Restore at original location" 13- click "Ok" button 14- verify symfony exception
error:
[2013-03-21 15:52:49] request.CRITICAL: Uncaught PHP Exception eZ\Publish\Core\Base\Exceptions\NotFoundException: "Could not find 'location' with identifier '68'" at /var/www/apache2php53/ezp5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/EzcDatabase.php line 78 [] []