[PR #6532] [PM-30870] Fix editing blocked autofill URIs #12793

Closed
opened 2026-04-11 03:51:21 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6532

State: closed
Merged: Yes


🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-30870

📔 Objective

Fix an issue where editing a blocked autofill URI would incorrectly trigger duplicate validation errors. Previously, when a user attempted to edit an existing blocked URI, the validation would compare against the full list including the original URI, causing false duplicate errors even when saving the same value or making minor modifications.

Changes

  • Add originalUri parameter to track which URI is being edited
  • Exclude the original URI from duplicate validation during edits
  • Remove the original URI before adding the updated value to properly replace it

📸 Screenshots

https://github.com/user-attachments/assets/2a4a44b9-eca1-48e9-b0ef-d87e47e0a256

**Original Pull Request:** https://github.com/bitwarden/android/pull/6532 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking <!-- Paste the link to the Jira or GitHub issue or otherwise describe / point to where this change is coming from. --> https://bitwarden.atlassian.net/browse/PM-30870 ## 📔 Objective <!-- Describe what the purpose of this PR is, for example what bug you're fixing or new feature you're adding. --> Fix an issue where editing a blocked autofill URI would incorrectly trigger duplicate validation errors. Previously, when a user attempted to edit an existing blocked URI, the validation would compare against the full list including the original URI, causing false duplicate errors even when saving the same value or making minor modifications. Changes - Add originalUri parameter to track which URI is being edited - Exclude the original URI from duplicate validation during edits - Remove the original URI before adding the updated value to properly replace it ## 📸 Screenshots <!-- Required for any UI changes; delete if not applicable. Use fixed width images for better display. --> https://github.com/user-attachments/assets/2a4a44b9-eca1-48e9-b0ef-d87e47e0a256
GiteaMirror added the pull-request label 2026-04-11 03:51:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12793