-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
History: support classes modifying instances in __setstate__ (#1086)
* testHistory: test coverage for manage_historicalComparison * History: support classes modifying instances in __setstate__ Fixes https://bugs.launchpad.net/zope2/+bug/735999 * History: assign _p_jar after setting state This way, classes with a migration in __setstate__ have a chance to modify the object, but these changes are not saved to database * testHistory: commit transactions when checking ZMI views if committing transaction raised TemporalParadox we can not view the ZMI page * testHistory: test for HistoricalRevisions attribute * History: fix raising TemporalParadox when editing history Co-authored-by: Jens Vagelpohl <jens@plyp.com>
- Loading branch information
1 parent
2afc4c0
commit 5e61510
Showing
3 changed files
with
99 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters