entitlementcard
entitlementcard copied to clipboard
If a favorite store has been changed, it will no longer be available in favorites
Follow up to https://github.com/digitalfabrik/entitlementcard/issues/1214
Is your feature request related to a problem? Please describe. Because of the current implementation of data import, when we change any attributes of the acceptance store, we delete the old record in the database and create a new one with a new ID. As a side effect, if a modified store has been saved as a favorite on some device, it will appear as "No longer available" to the user. The user will have to delete it from favorites and save it again.
Describe the solution you'd like Would be nice to get constant acceptance store ids from the upstream, instead of generating them on our side.
Describe alternatives you've considered Perhaps we could treat some of the store attributes as constant (like name and coordinates?) and use them to compare data during the import.
Additional context Add any other context or screenshots about the feature request here.