Bug #89064
closedRecycler deletes related data on restore
0%
Description
Situation¶
Table "Thing" with inline bookings.
Thing is translatable and deletable, bookings are neither.
Test case¶
- Create sysfolder
- Create Thing
- Create Booking
- Delete Thing
- Restore Thing
Expected behavior¶
The booking is still there.
Seen behavior¶
The booking is gone by performing the last step.
Screen cast and demo extension are attached.
Only tested on v8, possibly present up to master.
Files
Updated by Susanne Moog over 4 years ago
- Status changed from New to Needs Feedback
When you delete "Thing" and have a dependent inline relation the datahandler will delete that relation on deletion of "Thing" - if that relation has no deleted field (is incapable of soft-delete) the relation will be hard deleted. The recycler obviously cannot restore it then. I don't quite get what the issue is. Maybe you can share more of your expectations and configuration?
Updated by Markus Klein over 4 years ago
The point is that the recycler deletes records during the restore operation!
Updated by Markus Klein over 4 years ago
- Status changed from Needs Feedback to Accepted
Updated by Georg Ringer about 3 years ago
- Status changed from Accepted to Needs Feedback
I just checked that in latest 11.5-dev-master and it works fine. can you double check? thanks
Updated by Markus Klein about 3 years ago
Confirmed, fixed in v11, still broken in latest v10
Updated by Markus Klein about 3 years ago
- Status changed from Needs Feedback to Closed
- Complexity set to hard
Wont't be fixed in older versions.