Open markfinger opened 7 years ago
@markfinger @cogat I have "fixed" the issue at hand by removing bulk admin actions that are broken or actively harmful for GLAMkit pages (make published, delete selected) and fixing the publish/unpublish bulk actions to be available on the parent admin page.
I don't know if fixing the bulk delete action properly is worth the (probably very high) effort. The fundamental problem is that MPTT does some custom magic on bulk deletes to avoid the tree structure getting trashed, but this magic is incompatible with admin views based on proxy models like our Pages admin. The only fix I can think of is to do a stupid-simple delete, then trigger something to try and repair any damage done to the MPTT data.
Seems to be related to everyone's old friend, MPTT: https://sentry.ixcsandbox.com/ic/agsa-staging/group/6564/
I'm getting the same errors in my local dev env, which is running latest icekit on
develop
If you go into the page's admin detail, you can still delete the page. Deleting from the page admin list will fail though