-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dragging and dropping alternatives to scenario tree
Previously, we were serializing alternative ids when dragging and dropping alternatives from Alternative tree to scenario tree. However, since the ids can nowadays be TempIds, this special identity gets lost in the serialization process and the ids turn into regular (negative) integers that do not correspond to original ids anymore. Committing the dragged and dropped scenario alternatives to the database corrupts it. We now identify the dragged and dropped alternatives by their names instead. Re #2417
- Loading branch information
Showing
4 changed files
with
58 additions
and
62 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
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