Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21565

Workflow: restore object will cause fatal error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: 5.0, 5.1
    • Fix Version/s: Customer request
    • Component/s: Legacy > Workflows
    • Labels:
      None
    • Environment:

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: