Details
-
Bug
-
Resolution: Done
-
Medium
-
2.5.15, 3.2.3, 3.3.1
-
None
-
Postgres 12
SolR 6
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
- Create a Page "A" with Location L1
- Create a Page "B" as a child of L1
- Add another location L2 to Page "A"
- Set Location L2 as main location
- Delete Location L1
- Page B has gone and cannot be found in trash
Expected behaviour:
- Confirmation message, that all children will be deleted, too
- 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>'