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