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

Deleting related object for ezobjectrelations field throws error 500

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.0, 2.2.2
    • 2.2.0-rc1
    • None

    Description

      Steps:

      1. Create CT with ezobjectrelations/ezobjectrelationslist
      2. Create CI with CT from previous step
      3. Add related object to the field and publish
      4. Sent to trash this object
      5. Go to Content/Content structure and click the name of Content Item with ezobjectrelation field

      Actual result:

      There is an error 500: Type error: Argument 1 passed to eZ\Publish\Core\SignalSlot\BookmarkService::isBookmarked() must be an instance of eZ\Publish\API\Repository\Values\Content\Location, null given, called in /var/www/vendor/ezsystems/ezplatform-admin-ui/src/bundle/Controller/ContentViewController.php on line 230

      Expected result:

      User is redirected to the content preview

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: