"Manage payment methods" list empty when a saved card has no expiration date
Categories
(Firefox :: Settings UI, defect, P2)
Tracking
()
People
(Reporter: mtigley, Assigned: mtigley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxcm-settings-redesign])
Attachments
(3 files, 1 obsolete file)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
The "Manage payment methods" list in about:preferences renders empty when any saved credit card has no expiration date. The cards are not lost (they still remain in autofill-profiles.json and still appear in the autocomplete dropdown on web pages), but the entire settings list fails to display because a record can throws during rendering:
Uncaught (in promise) TypeError: can't access property "replace", record['cc-exp'] is undefined
| Assignee | ||
Comment 1•21 days ago
•
|
||
Steps to reproduce
- Save a credit card without an expiration date (or add a record to autofill-profiles.json with no cc-exp/cc-exp-month/cc-exp-year).
- Open about:preferences → Manage payment methods.
Expected: all saved cards are listed.
Actual: the list is empty (including all other valid cards). The Browser Console shows a TypeError from FormAutofillPreferences.sys.mjs.
| Assignee | ||
Comment 2•21 days ago
|
||
Updated•21 days ago
|
Updated•19 days ago
|
Updated•16 days ago
|
Updated•16 days ago
|
| Assignee | ||
Comment 3•16 days ago
|
||
| Assignee | ||
Updated•15 days ago
|
Updated•15 days ago
|
Updated•15 days ago
|
Comment 5•13 days ago
|
||
| bugherder | ||
Comment 6•13 days ago
|
||
The patch landed in nightly and beta is affected.
:mtigley, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox153towontfix.
For more information, please visit BugBot documentation.
Comment 7•13 days ago
|
||
Also Release.
| Assignee | ||
Comment 8•13 days ago
|
||
Updated•13 days ago
|
Comment 9•13 days ago
|
||
firefox-beta Uplift Approval Request
-
User impact if declined/Reason for urgency: Users who have a payment method saved with no expiry date won't be able to view their list of stored payments in the settings page
-
Code covered by automated testing?: yes
-
Fix verified in Nightly?: yes
-
Needs manual QE testing?: yes
-
Steps to reproduce for manual QE testing: Steps to reproduce
- Save a credit card without an expiration date (or add a record to autofill-profiles.json with no cc-exp/cc-exp-month/cc-exp-year).
- Open about:preferences → Manage payment methods.
Expected: all saved cards are listed.
Actual: the list is empty (including all other valid cards). The Browser Console shows a TypeError from FormAutofillPreferences.sys.mjs.
- Risk associated with taking this patch: low
- Explanation of risk level: low. only affects payments page of Firefox settings page
- String changes made/needed?: no
- Is Android affected?: no
Updated•12 days ago
|
Comment 10•12 days ago
|
||
Verified - Fixed in Nightly 154.0a1(2026-06-26). Waiting for Beta uplift in order to verify it there as well.
Updated•10 days ago
|
Updated•10 days ago
|
Comment 11•10 days ago
|
||
| uplift | ||
Updated•10 days ago
|
Comment 12•9 days ago
|
||
Verified - Fixed in Beta 153.0b6 (build id: 20260628073909). The list of cards is still displayed even if there are entries without expiry date saved.
Comment 13•7 days ago
|
||
This seems worth fixing on Release also. Please nominate for uplift if you agree.
Updated•6 days ago
|
Updated•6 days ago
|
| Assignee | ||
Comment 14•6 days ago
|
||
Updated•6 days ago
|
Updated•6 days ago
|
Updated•5 days ago
|
Updated•5 days ago
|
Comment 15•5 days ago
|
||
| uplift | ||
Comment 16•1 day ago
|
||
Verified - Fixed in Release 152.0.5 (build id: 20260706120035). The list of cards is still displayed even if there are entries without expiry date saved.
Description
•