reuseman / flashcards-obsidian

🎴 An Anki plugin for Obsidian.md
MIT License
872 stars 86 forks source link

Starting with version 1.6.0, updating existing cards does not work #90

Open phillipjohnston opened 2 years ago

phillipjohnston commented 2 years ago

Previously, I relied upon the behavior of updating the text of a card in the note, hitting the sync button, and having existing cards updated. After I upgraded to 1.6.2 (which required me to remove and reinstall the plugin), I noticed that I could add new cards, but updating existing cards no longer works. Instead, the program says "nothing to do. everything is up to date."

When I look in anki and search by nid, I can confirm that the note I'm trying to update exists, as well as the fact that the old data is still present.

Here's the format of the card, note that I updated :: to be ::: in my case, and changed the ::: to something else as well.

- What is the Alfred snippet keyword for my personal email?:::p@g ^1638982929779
phillipjohnston commented 2 years ago

My settings, just for reference. Screen Shot 2022-02-25 at 10 00 10

phillipjohnston commented 2 years ago

Confirming this is still the case with 1.6.3.

I also noticed that if I have card IDs to delete, they will be deleted if I have another card that needs to be generated. But if it's the only ID that needs to be updated, the plugin will leave it and say "nothing to do"

phillipjohnston commented 2 years ago

1.5.6 works properly in this regard. 1.6.0 does not.

javiaxum commented 1 year ago

Still the case for 1.6.5. Plugin is able to track whether the original card was deleted in Anki deck. In my case it has stopped recognizing any obsidian notes edits few days after initial creation, while being able to update flashcards which were created recently.