VCard Import from QR-Code Crashes when ADR is Set
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- mobile-dev
調査の方向性
The crash happens when a vCard from a QR code includes an ADR line during import in the Contacts app. Start by finding the vCard parsing and address import code in the Kotlin sources, and reproduce with the sample VCARD text from the issue. Done means the ADR-bearing card imports without crashing and the address is stored. Confirm the fix by running the import path with the sample text.
索引モデルが issue の本文から書いたものです。
説明
Checklist
- I can reproduce the bug with the latest version given here.
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- This issue contains only one bug.
- I have read and understood the contribution guidelines.
Affected app version
1.6.0
Affected Android/Custom ROM version
Android 16
Affected device model
Samsung Galaxy S24 Ultra
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
- Open the following PDF
- Scan the QR-Code on your Android mobile device
- Open in Contacts
- Contact Crashes, Address is not imported
The QR-Code contains a VCard, generated from LaTeX as follows:
<Reading QR code for "BEGIN:VCARD^^M
VERSION:4.0^^M
N:Test;Test;;;^^M
FN:Test Test^^M
ADR:;;Technoparkstrasse 2;Winterthur;ZH;8406;Switzerland^^M
END:VCARD^^M
" at level 11-H from aux file.>
Result: If the ADR field is absent, the contact is imported, as soon as there is an ADR field, Contacts crashes. Regardless what other fields are defined and regardless on what is in the ADR field.
The visiting card is generated with xeLaTeX usig my template: businesscard-qrcode
\documentclass{businesscard-qrcode}
\begin{document}
\givennames{Test}
\familynames{Test}
\type{work}
\street{Technoparkstrasse\ 2}
\city{Winterthur}
\region{ZH}
\zip{8406}
\country{Switzerland}
\drawcard
\end{document}
Expected behavior
VCard from QR-Code is imported in Contacts.
Actual behavior
Contacts crashes when there is an ADR line.
Sometimes I get a crash report dialog, but most often it just does not open and switches back to the QR scanner.
Screenshots/Screen recordings
No response
Additional information
No response
- 主要言語
- Kotlin
- スター
- 917
- フォーク
- 73
- 平均マージ
- 5日 8時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FossifyOrg/Contacts のほかの issue
-
feature request needs triage
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
FossifyOrg/Contacts#176 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
bug needs triage
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
FossifyOrg/Contacts#618 ·
メンテナーはふだん 4 日以内に返信
-
feature request needs triage
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
FossifyOrg/Contacts#614 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
New field: IBANオープンfeature request needs triage
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
FossifyOrg/Contacts#613 ·
メンテナーはふだん 4 日以内に返信
-
bug needs triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
FossifyOrg/Contacts#612 · コメント 5 件 · リアクション 1 件 ·
メンテナーはふだん 4 日以内に返信
FossifyOrg/Contacts の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
utopia-rise/godot-jvm#1004 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ankidroid/Anki-Android#22408 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
afarber/OpenMapView#22 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nightscout/AndroidAPS#5245 ·
メンテナーはふだん 1 日以内に返信