Quote:
Originally Posted by ownedbycats
I came across a very weird data-loss glitch:
I wanted to remove a large amount, think a few hundred, books (fanfiction oneshots) from my goal. I selected them all, then used 'remove from goal', but it said it only removed 50 (which is the amount I have from this year).
|
The 'Remove from reading goal' option only remove books from your current goal. To remove from other years, you have to open the 'Edit reading goal' dialog and remove the entries year by year.
Quote:
Originally Posted by ownedbycats
I used 'Remove From Reading Goal' on a few books confirmed to be still on the list, but it said no books removed. So I opened Edit Reading Goal and removed one of the books to see if that worked.
|
If these were pre-2023, you can't remove them using the option from the main menu like I said above.
Quote:
Originally Posted by ownedbycats
But now when I open Edit Reading Goal, it selects all my pre-2023 books on the list and tells me that they can't be added to the list. I have autoadd disabled.
|
That's weird. Have you edited the JSON file manually?
This is only supposed to happen if you have books on your current goal (2023) and them change their date to another year.
I tried to replicate your steps but nothing happened.
1) I selected 150 books, including 2023's and 2022's.
2) Clicked the menu and selected 'Remove from reading goal'
3) It said 74 books were removed (all my 2023 books)
4) Then I tried to remove the others from 2022 again, and got the the message that no books were removed
5) I opened the 'Edit reading goal' dialog, changed to 2022, selected the books and clicked the button 'Remove from reading goal', and got the confirmation that they were deleted.
The database remained intact.
Quote:
Originally Posted by ownedbycats
I tried re-adding the books to that year but no books were added and I still see them in the json file. A lot of the 2023 books are missing from the json though.
EDIT: The db itself is bugged - moving the json out to let it regenerate work. I can send it to you if you want to look at it.
|
Please send me and I'll take a look. Also, what do you mean by 'moving the json out to let it regenerate'?
Quote:
Originally Posted by ownedbycats
ANOTHER EDIT: I was able to restore some of the entries by manually reconstructing them from the bugged json and another backup from a few days ago. (Some still have missing entries, sadly, I guess I should start taking separate daily backups of the json.)
|
That's a shame. Maybe I can find what happened by looking at your database file. Also, the exact steps to reproduce would be very helpful. Like I said, I tried to follow your steps, but everything worked just fine here.