Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid POSKeyError when commit occurs and we have savepoint that invol…
…ves (#4026) 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) Co-authored-by: Rohan Shaw <[email protected]>
- Loading branch information