Error message: “ Cloze deletion can only be used in fields which use the ‘cloze:’ filter. This is typically the first field.”
Hello .
TLDR: Cloned Image Occlusion note type breaks after ‘Check Database’ if the ‘Occlusion’ field is no longer the first field. Video link: https://youtu.be/SdkqyW3DUaE
I spent so many hours trying to figure out what was going wrong with my custom Image Occlusion note type (I cloned the built-in Image Occlusion field, added an ID field and repositioned it to make it the first field).
The cards work perfectly fine until I run “Check database”. At this point it seems Anki “resets” the notetype and assumes that the first field is the Occlusion field so I start getting the error above when I try to add more shapes to the Occlusion.
The notes still work using the initial Occlusion data but no further changes can be made to the notes’ Occlusions unless I reposition the Occlusion field and make it the first field.
It would be great for me for the notetype to work with my own custom note field so that I can update or skip existing notes the next time I use a csv import. I understand Anki uses the first field to check such things during an import.
Please take a look at the video (https://youtu.be/SdkqyW3DUaE
) where I reproduce the error starting with a blank profile. Some guidance on what I could be doing wrong or a fix in the next update would be greatly appreciated!
Edit: Almost forgot. I’m using:
Version 23.12.1 (1a1d4d54)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
on Windows; Beta version 24.04 has the same issue.
Regards,