Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-8418

Trashing parent content doesn't remove child draft contents

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • Customer request
    • 4.6.7
    • OSS
    • Ibexa Open Source
    • Yes

    Description

      Generally, the issue is that drafts for trashed parent contents are not cleared causing multiple issues throughout the system, especially when calling loadParentLocation.

      Steps to reproduce:

      1. Create a new Role with the following policies:

        and assign a new user to it.
      2. As a newly created user create and publish a folder (A) and create a draft inside this folder.
      3. Log back as Administrator and remove the parent folder (A).
      4. Log in as the user from step 1. and try to access the dashboard.

      Result:
      One is presented with an exception:

      An exception has been thrown during the rendering of a template ("The User does not have the 'read' 'content' permission with: locationId '67'").

      Exceptions can vary depending on the place and policies setup.

      Expected result:
      No exception should be present when accessing the dashboard.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: