ankidroid / ankidroid/Anki-Android

App breaking when adding notes in Manage Note Types

オープン
#19,953 コメント 9 件 リアクション 0 件 担当者 1 名 @criticalAY が担当を希望しています GitHub で見る
Needs Triage Priority-Critical
主要言語
Kotlin
スター
11.8k
フォーク
2.9k
平均マージ
2日 3時間
マージ済み PR(30日)
167

説明

### 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))

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。