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

Error 500 when accessing content which has relation to content in trash

    XMLWordPrintable

Details

    Description

      Customer observed an issue with policies when accessing content which has relation in trash.

      Steps to reproduce:
      1. Edit existing Content Type (e.g. Article) and add ezobjectrelationlist.
      2. Create a new Article1.
      3. Create Article2 and set relation to Article1.
      4. Send Article1 to Trash.
      5. Create a new User-Editor.
      6. Log in as Editor and try to access Article2.

      Result:
      The Exception is thrown:

      An exception has been thrown during the rendering of a template ("User does not have access to 'read' 'content' with: contentId '60''") in "@EzPlatformAdminUi/fieldtypes/preview/content_fields.html.twig".
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            konrad.oboza@ibexa.co Konrad Oboza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: