ankidroid / ankidroid/Anki-Android

App breaking when adding notes in Manage Note Types

Aperta
#19,953 9 commenti 0 reazioni 1 assegnatario Rivendicata da @criticalAY Vedi su GitHub
Needs Triage Priority-Critical
Lingua principale
Kotlin
Stelle
11.8k
Fork
2.9k
Merge medio
2g 3h
PR unite (30g)
167

Descrizione

### Checked for duplicates?

- [x] This issue is not a duplicate

### Does it also happen in the desktop version?

- [ ] This bug does not occur in the latest version of Anki Desktop

### What are the steps to reproduce this bug?

Go to the manage note types screen, add card types to the basic card note. They should all be having {{front}} or {{back}} (I added 5 note types so 6 total). If you try to save it, you'll get a dialog box error that says card x and card y have the same content (I can't remember the exact dialog). Change the text on the conflicting notes to "{{front" or "{{front}", and then try and save it. You should just be stuck on the following dialog:

Image

After reopening, the app is significantly slower and even crashed when I tried to manage note types and when I got in, I saw there were 20 card types, in the format of card 2+, card 2++ etc.

### Expected behaviour

The app should not break.

### Debug info

```text
AnkiDroid Version = 2.23.1 (3f3133b496b531383e9a6494f5a7704634935308)
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)
Android Version = 14 (SDK 34)
ProductFlavor = play
Device Info = samsung | samsung | r0s | r0sxeea | SM-S901B | s5e9925
Webview User Agent = Mozilla/5.0 (Linux; Android 14; SM-S901B Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/143.0.7499.34 Mobile Safari/537.36
ACRA UUID = 519a8a65-aaa5-439f-bfa9-a6af4ee12246
FSRS = 5.1.0 (Enabled: false)
Crash Reports Enabled = true
```

### (Optional) Anything else you want to share?

_No response_

### Research

- [x] I have checked the [manual](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/FAQ) and could not find a solution to my issue
- [ ] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.