Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log a warning if a Pyramid request ends with uncommitted DB session c…
…hanges The previous `session.dirty` check only tested for _changes_ to existing DB objects which have not been flushed. It did not check for added or deleted model objects which had not yet been flushed to the DB, or for changes which have been flushed inside a transaction but not yet _committed_. When debugging #4704 we want to specifically catch additions (of annotations) to the DB which have been flushed (by `storage.create_annotation`) but not yet committed.
- Loading branch information