-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't overwrite cache when removing items
We call cascade_remove_items() from Toolbox without supplying db cache apparently to ensure that all cascading ids get cached in cascading_ids(). The call to make_cache(), however, overwrote all existing items in the cache destroying pending updates. We now supply a new parameter, keep_existing, to make_cache() to prevent overwriting existing items. Re spine-tools/Spine-Toolbox#2259
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 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