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

workflows: adding approval to media tree causes fatal error

    Details

      Description

      steps to reproduce:

      1 - create an editor user
      2 - with admin user, create a workflow with an approve event for "media" section (or "any", result is the same)
      3 - set the trigger content->publish->before to the workflow created
      4 - log in with the editor user, create a new article.
      5 - on ezOE, click the add image button to open the popup
      6 - add an external image. when the "upload local image" is clicked, a fatal error is shown in the popup.

        Issue Links

          Activity

          Hide
          Filipe Dobreira (Inactive) added a comment -

          QA Approved.

          Show
          Filipe Dobreira (Inactive) added a comment - QA Approved.
          Show
          Bertrand Dunogier added a comment - Merged to master: https://github.com/ezsystems/ezpublish-legacy/commit/7f3145ba239253b3a3353551e1621a5dbd68c2c4 .
          Hide
          Bertrand Dunogier added a comment -

          New pull request for the node fatal error reported in EZP-21599: https://github.com/ezsystems/ezpublish-legacy/pull/780.

          Show
          Bertrand Dunogier added a comment - New pull request for the node fatal error reported in EZP-21599 : https://github.com/ezsystems/ezpublish-legacy/pull/780 .
          Hide
          Bertrand Dunogier added a comment - - edited

          Reopening as there is a second bug on this use case: since the uploaded object has no node yet, we get a fatal error in eZContentUpload::publishObject().

          Furthermore, a bugfix that was extracted from one of the previous fixes must be also be applied: https://jira.ez.no/browse/EZP-19077 (already linked to this issue).

          Show
          Bertrand Dunogier added a comment - - edited Reopening as there is a second bug on this use case: since the uploaded object has no node yet, we get a fatal error in eZContentUpload::publishObject() . Furthermore, a bugfix that was extracted from one of the previous fixes must be also be applied: https://jira.ez.no/browse/EZP-19077 (already linked to this issue).
          Hide
          Bertrand Dunogier added a comment -
          Show
          Bertrand Dunogier added a comment - Bugfix/workaround reverted in master: https://github.com/ezsystems/ezpublish-legacy/commit/d355026740f39039e44e909544464c1a1fead233 . See https://jira.ez.no/browse/EZP-21599 for the final, proper fix.

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Bras (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 5 hours, 8 minutes Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - 5 hours, 8 minutes Remaining Estimate - 1 hour
                5h 8m