XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.6.0
    • Cronjobs
    • None
    • eZ Publish 4.6

    Description

      I setup an ezapprove workflow. When I valdate every thing work. But if I reject content th workflow cronjob scipt crash:

      PHP Fatal error: Call to a member function remove() on a non-object in /var/www/site/cronjobs/workflow.php on line 51

      $bodyMemento->remove(); --> because the object $bodyMementon is null.

      I find this issue, I use the same hack as workarround.
      #011705: workflow/processlist may crash if memento data is broken

      Steps to reproduce
      • create a workflow ezapprove.
      • reject the content.
      • run the cronjob frequent (php runcronjobs.php frequent)

      It fails with error:

      PHP Fatal error: Call to a member function remove() on a non-object in /var/www/site/cronjobs/workflow.php on line 51
      

      Attachments

        Activity

          People

            e8318ba6-e4ae-477c-9116-36c073bd11a3@accounts.ibexa.co Patrick Allaert
            rc@ez.no rc@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: