Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

When two contacts have the same number one of them disappears from the contacts list

オープン
#455 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, kotlin
領域
mobile

調査の方向性

The payload names no files or tests, so locate the code that saves contacts and matches phone numbers, starting with a search for the contact insert and update paths in the Kotlin source. Reproduce by creating two contacts that share one number, then check whether the first contact is overwritten or merged on save. Done means both contacts remain listed and the multi-number case keeps all its numbers. The thread has no maintainer decision yet, so confirm the intended behaviour before changing it.

索引モデルが issue の本文から書いたものです。

説明

bug device/software specific needs reproduction
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.5.0

Affected Android/Custom ROM version

Android 11

Affected device model

Oscal C26

How did you install the app?

F-Droid

Steps to reproduce the bug

1 Take one of your contacts (say, "John Smith") and create a new contact (say, "John Smith New") with the same phone number

Expected behavior

Both "John Smith" and "John Smith New" are shown in the contacts list

Actual behavior

Only "John Smith New" is shown in the contacts list

Screenshots/Screen recordings

No response

Additional information

Merge duplicates is off.
I have the contacts syncronized with a gmail account, and there both contacts are shown properly. Also the stock contacts app shows both contacts. ADDITIONAL INFO. The stock app shows both contacts, but when clicking on the "missing one" it says "contact not existing".
It also happens if you have a contact with multiple phone numbers and you create a new contact with one of those phone numbers. The original contact with multiple numbers disappears with all the associated numbers.
Once the contact is gone, there seems to be no way to recover it. You have to use a local backup or delete all contacts and syncronize them back.

主要言語
Kotlin
スター
917
フォーク
73
平均マージ
2日 2時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FossifyOrg/Contacts のほかの issue

FossifyOrg/Contacts の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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