Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/6.0.x Date: 2024-11-05T14:27:57-08:00 Author: Wesley Barroso Lopes (wesleybl) <[email protected]> Commit: plone/Products.CMFPlone@c2b14e3 Avoid POSKeyError when commit occurs and we have savepoint that involves (#4043) Plone Site When ZODB handles savepoint and we have changes in Plone Site at that savepoint, it changes the `_p_estimated_size` attribute of Plone Site. This is an assignment to one of the special persistency attributes (identified by an _p_ name prefix); it should happen without access to any other attributes of obj. But obj._tree is accessed in __setattr__ of PloneSite class and results in a ZODB load which apparently fails. See: plone/plone.restapi#1823 (comment) Files changed: A news/4043.bugfix M Products/CMFPlone/Portal.py
- Loading branch information