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

Location removal removes all children silently and unreversable

    XMLWordPrintable

Details

    Description

      When removing a location of an object, all child nodes will be removed, too. This happens silently and without going to trash.

      Steps to reproduce

      1. Create a Page "A" with Location L1
      2. Create a Page "B" as a child of L1
      3. Add another location L2 to Page "A"
      4. Set Location L2 as main location
      5. Delete Location L1
      6. Page B has gone and cannot be found in trash

      Expected behaviour:

      1. Confirmation message, that all children will be deleted, too
      2. Trash the children instead of removing it directly

      Note
      In v3 (3.2.3, 3.3.0) there is also a message:
      Could not find 'location' with identifier '<location_id>'

      Attachments

        Activity

          People

            Unassigned Unassigned
            9dcdb0dd-5caa-459b-93b0-1ce97332c3fa@accounts.ibexa.co Hannes Giesenow
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: