Duplicate entry prompt is bypassed when saving through the "Discard changes?" dialog
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- authentication, mobile
Research direction
Start by tracing the entry editor's toolbar save action and the Save action in the "Discard changes?" dialog, then compare how each handles duplicate detection. The issue gives a clear reproduction path; run the relevant entry editor tests, if present, and verify both save paths show the duplicate prompt before an entry is added.
Written by the indexing model from the issue text.
Description
Version
v3.4.3
Source
GitHub
Vault encryption
No
Device
Android Studio Emulator (Medium Phone)
Android version
Android 16 (API 36)
ROM
No response
Steps to reproduce
- Create a manual TOTP entry with the account name "Test Account" and issuer "Test Issuer", then save it.
- Create another manual entry with the same account name, issuer and secret.
- Tap the Save button in the toolbar. The duplicate entry prompt appears.
- Cancel the duplicate entry prompt.
- Tap the × button in the top-left corner of the entry editor.
- Tap "Save" in the "Discard changes?" dialog.
- Observe the duplicate entries in the vault.
What do you expect to happen?
Saving an entry through the "Discard changes?" dialog should display the same duplicate entry prompt as saving through the toolbar, allowing the user to decide how to handle the duplicate.
What happens instead?
The entry is saved directly without displaying the duplicate entry prompt. The vault now contains two entries with the same account name and issuer.
This behavior is inconsistent between the two available ways of saving an entry.
Log
No response
- Dominant language
- Java
- Stars
- 13.7k
- Forks
- 626
- Avg merge
- 10d 12m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from beemdevelopment/Aegis
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
beemdevelopment/Aegis#1867 ·
-
proposal
Difficulty 1/5 Under an hour Newbie friendliness 82/100
beemdevelopment/Aegis#1861 · 1 reaction ·
-
proposal proposal-accepted
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
beemdevelopment/Aegis#1856 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
beemdevelopment/Aegis#1845 ·
-
proposal
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
beemdevelopment/Aegis#1843 · 2 comments · 1 reaction ·
All issues in beemdevelopment/Aegis
Similar issues
-
[Bug] "Configure Colota" opens Colota with "Invalid configuration: No configuration data in URL"Open
Difficulty 1/5 1-3 hours Newbie friendliness 87/100
dedicatedcode/reitti#1445 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
hapifhir/hapi-fhir-jpaserver-starter#1024 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
HMYDK/AIGitCommit#115 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Enadeag/car-charge-planner#576 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 85/100
spring-petclinic/spring-petclinic-microservices#609 ·
Maintainers usually reply within 19 days