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
At the moment, when performing an exercise sync, we also sync the available languages (wger.exercises.sync.sync_languages). This is fine and works as long as there aren't any new languages in the local instance because then the IDs won't match.
The solution for this would be to either
after synchronizing the languages, manually perform a map between the language ID that comes from the server and what we have locally or
add a UUID like we have for the exercises themselves or the ingredients so that we can lookup that instead since we know this value can't change
The second option is cleaner, but needs some DB migrations, slight changes to the API, etc.
At the moment, when performing an exercise sync, we also sync the available languages (
wger.exercises.sync.sync_languages
). This is fine and works as long as there aren't any new languages in the local instance because then the IDs won't match.The solution for this would be to either
The second option is cleaner, but needs some DB migrations, slight changes to the API, etc.
See wger-project/docker#78
The text was updated successfully, but these errors were encountered: