You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Models are stored in plain .json format in the offline repository which can produce unexpected behavior when reference models are updated or deleted.
Say an Activity with offline_id = 45 is saved in the offline repository with a pictogram with offline_id = 34:
Describe the bug
Models are stored in plain
.json
format in the offline repository which can produce unexpected behavior when reference models are updated or deleted.Say an
Activity
withoffline_id = 45
is saved in the offline repository with a pictogram withoffline_id = 34
:If then the pictogram were to be deleted with
Then calling
ActivityModel.offline().get(45)
will still return the activity with the deleted picogram.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Activity should not get the deleted pictogram with it.
Actual behavior
Activity gets the deleted pictogram with it.
The text was updated successfully, but these errors were encountered: