Closed paregorios closed 6 years ago
What appears to be happening is that the link integrity checker tries to delete the object to find out if an content that references it. When an existing link is found an exception is raised and caught and Plone attempts to rollback to the prior transaction savepoint and ask for confirmation regarding potential broken links. Unfortunately, something is causing the savepoint to be considered invalid and preventing the rollback from succeeding. The result is the object is permanently deleted without link integrity checks happening. We can work around this by disabling the link integrity checker while we attempt to get to the bottom of the issue.
Do you know if this was happening immediately after the Plone 4.3.18 upgrade, or did it only start happening after last night's deployment?
It looks like this was caused by collective.linkcheck, disabling the addon remedied the issue.
I upgraded to the latest supported Plone 4.3 version of this add-on (1.4) when I did the Plone 4.3.18 upgrade, so I will attempt to downgrade to the last known working version (1.2).
I've downgraded to collective.linkchecker to 1.2 and installed it on staging. Deletion seems to be working there again. If this add-on is important for ISAW I'll go ahead and downgrade/install on production. However, if you don't really use it I'd recommend keeping it uninstalled. My recollection is that it has some pretty serious performance implications and the background tasks that it runs can be very costly, separate from the weird transaction fiddling that it apparently does.
As discussed during standup, we no longer need collective.linkchecker.
Deletion behavior seems to be working at present on production. @alecpm if there are no more actions to take regarding this issue, feel free to close the ticket.
The included (but not installed) linkchecker addon will be downgraded with the next production push, and I think that's all there is to it. Closing.
Steps to reproduce:
actions
->delete
from the beautiful, green tertiary submenu.This seems to occur on both existing pages and newly created pages.