Old app version auto-syncs to UrzaDirect, causing data loss
I am using UrzaDirect to sync my collection across my PCs and phones. For the most part it works great.
However there is one significant annoyance, whenever a new version gets released:
1) A new version of the app is released. (eg. for new new MTG card-set)
2) I open UrzaGatherer on one of my devices. It updates to the latest version.
3) I make changes, and it saves those changes to UrzaDirect for syncing to my other devices.
4) However, when I then open my other devices, they are sometimes not yet receiving the latest version yet (I guess because some are still holding cache of the old version for a while). So a red message at the bottom flashes the message "Your saved collection is from a newer version of UrzaGatherer. Please update UrzaGatherer to the latest version to use it. Database is in read-only mode to protect your data." However, the page then refreshes or something very quickly, making the message disappear.
5) I then go to settings and press "Update version", and refresh the page. The app version is now updated. However, the problem is that the data in UrzaDirect was "corrupted" by this outdated version -- it pushed its data to UrzaDirect, deleting any cards in the UrzaDirect online storage that the outdated version did not know about.
6) So then when I open other instances, and sync, they receive a version of the data that is missing tagged/deck-added cards from the latest set that should have been there.
More specifically: The problem is that in step 4, while the outdated instance might have made its own database read-only, it did not prevent the UrzaDirect sync from taking place. So, the UrzaDirect data gets overwritten with data from the outdated instance, which is eg. missing any cards from the latest version/set.
So the fix I guess could be either:
Make sure that when the "outdated version" situation is detected (making the db read-only), the page does not insta-refresh -- instead, UrzaDirect sync gets temporarily disabled (so that its data doesn't get corrupted by the outdated instance), and the user is informed of their options. (eg. maybe a dialog popup with button options of "Update version and refresh (before syncing)" and "Keep current version and sync (may lose data)")
Fix the fact that the outdated instance feels the need to "sync" its data to UrzaDirect, despite no changes being made to any decks, tags, collections, etc. (also, like I said the page refreshes or something right away, making the warning message also show up for less than 1 second)
P.S. Also, it appears urzagatherer.com (not the app itself, but the info website) is redirecting to random advertisement sites now. Maybe you just didn't want to upkeep that domain (and so let it be repurchased), but mentioning in case not.





I’ll fix that issue! And yes I let the .com as it was simply not used anymore