ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.81k stars 2.25k forks source link

[Bug] Conditional field appears on Anki but not on AnkiDroid when it is called "Type" #7991

Closed soliviantar closed 3 years ago

soliviantar commented 3 years ago
Reproduction Steps
  1. Add this deck (1 note) test script.zip
  2. Open in Anki and check both conditional fields are showing on the back of the card (first should say "Yes" and second "B")
  3. Sync with AnkiDroid
  4. Open in AnkiDroid.
  5. Card doesn't show conditional field called "Type"
  6. Rename field to anything else in Anki
  7. Sync
  8. Open in AnkiDroid
  9. Now the conditional works
Expected Result

AnkiDroid should show the the result whatever the name of the field is, I guess.

Actual Result

Only shows if name is not "Type".

Debug info

AnkiDroid Version = 2.14.2

Android Version = 10

ACRA UUID = 6c37bf56-6819-42ea-aa3d-59c19c372897

Scheduler = std2

Crash Reports Enabled = true

Research
welcome[bot] commented 3 years ago

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

Arthur-Milchior commented 3 years ago

Hi,

Thanks for the report. Anki changed its way of processing card a few months ago. We'll eventually copy it, but it's a long process. Given that "Type" is a specific keyword in anki and that renaming "Type" to "Typ" or "type" is easy, I doubt will correct it soon, sorry.

soliviantar commented 3 years ago

Sure, no problem, thanks for the quick reply. I changed the field name and everything was fine, fortunately, so it's not a a big issue. Just reporting it in case it wasn't registered somewhere and in case someone else found this problem and didn't realize the issue was the field name as I did. I didn't see it mentioned anywhere so I just kept trying to review the card template in fear I mistyped something. :)

github-actions[bot] commented 3 years ago

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically