Closed
Bug 1497225
Opened 3 years ago
Closed 3 years ago
Hidden address fields lose their asterisks after changing to a Country or Region that requires those fields
Categories
(Firefox :: WebPayments UI, defect, P1)
Firefox
WebPayments UI
Tracking
()
VERIFIED
FIXED
Firefox 65
People
(Reporter: tbabos, Assigned: jaws)
References
(Depends on 1 open bug)
Details
(Whiteboard: [webpayments])
Attachments
(2 files)
[Affected versions]: Nightly 64.0a1 [Affected platforms]: Platforms: Windows 10 x64 [Preconditions]: 1. Set the pref dom.payments.request.enabled to "true"; 2. Make sure you have at least one Shipping Address and one Credit Card saved in your browser. [Steps to reproduce]: 1. Go to "https://rsolomakhin.github.io/pr/single/" page and click on "Buy". 2. From "Shipping Address" click on "Add". 3. Check the pre-selected Country - in our case it is Romania. Note that the 'State" field will be hidden as expected. 4. Select "United State" from Country or region. 5. Observe "State" field. [Expected result]: "State" field should be marked as required - have an asterisk. [Actual result]: The asterisk from the "State" field that is now visible is missing. [Note]: This issue occurs in both Add (only if the preselected country has a hidden address field) and Edit shipping address forms. It is more visible if its reproduced via the following steps: 1. Add a new shipping address with the Country or Region being "Macau" - only street address field appears, the rest of the address fields are hidden - and save it. 2. Edit the saved address from Macau back to the United States * The "City", "Zip Code" and "State" have missing asterisks even if they are required to save the address. * Bug 1496061 - might as well be a duplicate for this since our Country is always pre-filled with Romania, thus the hidden 'State" field will lose it's asterisk when US is selected.
Flags: qe-verify+
Updated•3 years ago
|
Priority: -- → P3
Whiteboard: [webpayments] [triage] → [webpayments-reserve]
Updated•3 years ago
|
Depends on: 1481481
Summary: Hidden address fields lose their asterisks after changing to a Country or Region that requires those fields → Hidden address fields lose their asterisks after changing to a Country or Region that requires those fields
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Updated•3 years ago
|
Priority: P3 → P1
Whiteboard: [webpayments-reserve] → [webpayments]
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Attachment #9021979 -
Attachment description: Bug 1497225 - Add a test that confirms the asterisk will be added to the address-level1 (State) field when changing countries. r?MattN → Bug 1497225 - Update the required asterisk display when changing countries. r?MattN
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8cd7b1c3737a Update the required asterisk display when changing countries. r=sfoster,MattN
Comment 4•3 years ago
|
||
Backed out changeset 8cd7b1c3737a (Bug 1497225) for failures in browser_editAddressDialog.js Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&selectedJob=209504224&revision=8cd7b1c3737a583e6c3c5e1dc8287d5db61345f3 Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=209504224&repo=autoland&lineNumber=4677 Backout: https://hg.mozilla.org/integration/autoland/rev/591fefb0f99c9d50325fe8e4b151aab7e1ba8691
Flags: needinfo?(jaws)
| Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(jaws)
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e736a623e623 Update the required asterisk display when changing countries. r=sfoster,MattN
Comment 6•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e736a623e623
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Updated•3 years ago
|
Flags: in-testsuite+
| Reporter | ||
Comment 7•3 years ago
|
||
Verified - Fixed on latest Nightly 65.0a1 (2018-11-11) (64-bit) on Windows 7/10, Ma OS 10.13 and Ubuntu 16.04.
You need to log in
before you can comment on or make changes to this bug.
Description
•