Quote:
Originally Posted by Rev. Bob
The desktop software ought to be able to do the same thing.
|
The desktop software has no concept of shelves. Its database does have the shelf details, but you can't manipulate them from the application.
Quote:
This is exactly why having a second application - iOS, Android, desktop, whatever - that can manipulate your shelves is so useful;
|
Except of course when the server bug caused 2000 shelves to suddenly appear on both my devices.
Quote:
it apparently affects the information stored on the server more directly than the device-to-sqlite-to-server path does.
|
That is because deleting the database is the wrong thing to do. That doesn't tell the server what to with the shelves it knows about, including the duplicates. In fact, as far as it is concerned, it should send them back to the device at the next sync. The correct thing to do, if you are manipulating the database, is to do what the device does when you delete a shelf. It marks the shelf as deleted (sets the value of "_IsDeleted" to "true" and set "LastModified" to the current timestamp) and then do a sync. That should tell the server to not send the shelves down again.