Details
-
Bug
-
Resolution: Duplicate
-
High
-
5.0, 5.1
-
None
-
ezp with approval workflow created
Description
steps to reproduce:
user A is editor and user B is approver.
1 - setup an approval workflow
2 - create and publish a content with user A
3 - approve content with user B
4 - remove content with user A - send to trash
5 - restore content ( use original location) - fatal error is generated
the error shows that:
eZ runs publication operation when restoring (restore.php line 177)
this publish triggerss the approval event, the content is not published and the main_node_id (line 192) is empty.
eZ then tries to redirect to /content/view/full without any parameter ==> error page