Fix bug #80

Merged
dvschuyl merged 0 commits from WES-XX-persistent-data-controller-backwards-compatible into development 2023-04-08 19:24:47 +00:00
dvschuyl commented 2023-04-08 09:34:45 +00:00 (Migrated from gitlab.ilabt.imec.be)

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 .json data file on your disk and change the version number (increase or decrease) and now the application will generate a new file.

None

Known bugs or issues

None

Checklist

  • I have filled in this template.
  • I have tested my changes thoroughly (both in the editor + build and run (ctrl+B)!).
  • I have added appropriate unit tests.
  • I have updated the user documentation as necessary.
  • Code reviewed by 2 people.

Additional Notes

None

## 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 `.json` data 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 - [X] I have filled in this template. - [X] I have tested my changes thoroughly (both in the editor + **build and run (ctrl+B)**!). - [X] I have added appropriate unit tests. - [X] I have updated the user documentation as necessary. - [x] Code reviewed by 2 people. ## Additional Notes _None_
dvschuyl commented 2023-04-08 09:34:45 +00:00 (Migrated from gitlab.ilabt.imec.be)

requested review from @louadria, @tihabils, @dvschuyl, @lvrossem, @hvbreuge, @jeldgees, and @jrcoudro

requested review from @louadria, @tihabils, @dvschuyl, @lvrossem, @hvbreuge, @jeldgees, and @jrcoudro
louadria (Migrated from gitlab.ilabt.imec.be) approved these changes 2023-04-08 09:34:45 +00:00
jrcoudro (Migrated from gitlab.ilabt.imec.be) approved these changes 2023-04-08 09:34:45 +00:00
jrcoudro commented 2023-04-08 14:24:31 +00:00 (Migrated from gitlab.ilabt.imec.be)

Seems to work fine, the old file gets overwritten but I assume this is intentional.

Seems to work fine, the old file gets overwritten but I assume this is intentional.
jrcoudro commented 2023-04-08 14:24:33 +00:00 (Migrated from gitlab.ilabt.imec.be)

approved this merge request

approved this merge request
dvschuyl commented 2023-04-08 15:26:03 +00:00 (Migrated from gitlab.ilabt.imec.be)

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 😄 .

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 :smile: .
dvschuyl commented 2023-04-08 15:29:02 +00:00 (Migrated from gitlab.ilabt.imec.be)

resolved all threads

resolved all threads
louadria commented 2023-04-08 19:24:29 +00:00 (Migrated from gitlab.ilabt.imec.be)

marked the checklist item Code reviewed by 2 people. as completed

marked the checklist item **Code reviewed by 2 people.** as completed
louadria commented 2023-04-08 19:24:29 +00:00 (Migrated from gitlab.ilabt.imec.be)

approved this merge request

approved this merge request
dvschuyl commented 2023-04-08 19:24:47 +00:00 (Migrated from gitlab.ilabt.imec.be)

mentioned in commit 73c4756f19

mentioned in commit 73c4756f19980d8c046649b2669c8a0c0da88231
Sign in to join this conversation.