Skip to content

chore: Log protect tags on overwritten notes - #1386

Open
abdnh wants to merge 1 commit into
mainfrom
log-protect-tags
Open

abdnh wants to merge 1 commit into
mainfrom
log-protect-tags

Conversation

@abdnh

@abdnh abdnh commented Oct 2, 2026

Copy link
Copy Markdown
Member

Related issues

https://community.ankihub.net/t/protected-field-not-saving/613161

Proposed changes

This improves logging of overwritten fields to list AnkiHub_Protect tags of overwritten notes, to help detect things like typos.

How to reproduce

Tag a note with some AnkiHub_Protect tag that does not correspond to any field and edit the field then reset local changes and confirm the protect_tags_on_overwritten_notes and protect_tags_on_overwritten_notes_sample_nids fields are printed in the "Overwrote local content during import" log.

@abdnh
abdnh requested a review from RisingOrange October 2, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants