Closed ccammack closed 3 months ago
Thanks, I can confirm this patch works and I have tried the reproduction steps listed in the linked-issue. I've noticed this doesn't actually update the contents of the card in Anki but I think we never got around to implementing this.
looks like just linting left to sort out
Updates seem to work for me on the test deck if anki.md.updateCards is enabled.
ah yes thanks, just tested and it works fine, I can see the bug is fixed. The CI looks unrelated so ill ignore that, it would be great if we had a test suite for this, but I won't hold up this PR on that basis
This has been released: https://github.com/jasonwilliams/anki/releases/tag/v1.3.3
To reproduce bug #128, enable anki.md.insertNewCardID and run Anki:Send To Own Deck multiple times on this deck and note that it generates new CardIDs each time:
Apply the fix and repeat the test to see that the CardIDs are only generated once..