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

Exception after sending item from Relation List to Trash

    Details

      Description

      Exception occurs after sending item from Relation List to Trash.

      Steps:

      1. Create a Content Item from a Content Type with the ezobjectrelationlist field type.
      2. Add a valid item to the Relation List.
      3. Publish.
      4. Send the item from step 2 to Trash.
      5. Go to the item from step 1 in View mode.

      Actual: Error 500 occurs, "Call to a member function getContent() on null [in vendor/ezsystems/ezplatform-admin-ui/src/lib/Specification/Location/IsContainer.php:22]".

      Remarks: Affects also the ezobjectrelation (single) field type.

        Issue Links

          Activity

          Show
          Mikołaj Adamczyk added a comment - PR: https://github.com/ezsystems/ezplatform-admin-ui/pull/788
          Hide
          Michał Szołtysek added a comment -

          QA Approved.

          Show
          Michał Szołtysek added a comment - QA Approved.
          Show
          Michał Szołtysek added a comment - Merged to master: https://github.com/ezsystems/ezplatform-admin-ui/commit/c160fb2c9ea3810d0f57cd47e99250951d5c30c1

            People

            • Assignee:
              Unassigned
              Reporter:
              Michał Szołtysek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: