Fix bug #80
Reference in New Issue
Block a user
Delete Branch "WES-XX-persistent-data-controller-backwards-compatible"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Fixed a bug with incorrect version of stored data.
Testing Instructions
The EditMode test will test for you whether this is correctly implemented. However, if you want to test it for yourself, go to the location of the saved
.jsondata file on your disk and change the version number (increase or decrease) and now the application will generate a new file.Related Issues
None
Known bugs or issues
None
Checklist
Additional Notes
None
requested review from @louadria, @tihabils, @dvschuyl, @lvrossem, @hvbreuge, @jeldgees, and @jrcoudro
Seems to work fine, the old file gets overwritten but I assume this is intentional.
approved this merge request
It will only be overwritten when you have an incorrect version in your savefile. You reviewed !77 and there the version is increased. By reviewing this merge request, you sort of proved that my changes work 😄 .
resolved all threads
marked the checklist item Code reviewed by 2 people. as completed
approved this merge request
mentioned in commit
73c4756f19