Closed Bug 1873202 Opened 10 months ago Closed 8 months ago

[CA][https://www.sportchek.ca] Province not captured in the address doorhanger

Categories

(Toolkit :: Form Autofill, defect, P3)

Firefox 123
Desktop
All
defect

Tracking

()

VERIFIED FIXED
125 Branch
Tracking Status
firefox-esr115 --- disabled
firefox121 --- disabled
firefox122 --- disabled
firefox123 --- disabled
firefox124 --- disabled
firefox125 --- fixed
firefox126 --- verified

People

(Reporter: epopescu, Assigned: joschmidt)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: regression, Whiteboard: [fxcm-addr-compatibility])

Attachments

(4 files)

Attached video sportcheck.mp4

Found in

  • Nightly 123.0a1

Affected versions

  • Nightly 123.0a1

Tested platforms

  • Affected platforms: Windows 10, macOS 11

Preconditions:

  • install the en-CA build
  • set in about:config the following:
    browser.search.region = CA
    extensions.formautofill.addresses.capture.v2.enabled = true
    extensions.formautofill.addresses.supported = on
    extensions.formautofill.heuristics.captureOnFormRemoval = true
    extensions.formautofill.heuristics.captureOnPageNavigation = true

Steps to reproduce

  1. Add an item to cart and checkout as guest on https://www.sportchek.ca/en/
  2. Fill in manually all the details

Expected result

  • All the filled in values are captured in the "Save address" doorhanger.

Actual result

  • Province not captured in the "Save address" doorhanger.

Regression range

  • N/A

Additional notes

  • The issue can not be reproduced in Google Chrome.
  • Fathom Page
Blocks: 1860241
Severity: -- → S3
Has STR: --- → yes
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: unspecified → Firefox 123
Whiteboard: [fxcm-addr-compatibility]

The website use a list of button to implement the select function for province field.
After users select a province, the data is filled in a hidden, non-focusable <input> field.

If we want to fix this issue, we will need to re-think how we deal with non-focusable or non-visible fields (See Bug 1847687)

Type: task → defect
Keywords: regression
Priority: -- → P3
Regressed by: 1847687

:janikaneuberger, since you are the author of the regressor, bug 1847687, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(jneuberger)
Flags: needinfo?(jneuberger)

Set release status flags based on info from the regressing bug 1847687

Should be fixed by 1880450

Status: NEW → RESOLVED
Closed: 9 months ago
Depends on: 1880450
Flags: qe-verify+
Resolution: --- → FIXED
Assignee: nobody → dlee
Target Milestone: --- → 125 Branch
Attached image sportchek.png

I've tested this in Nightly 125.0a1 (2024-03-04) on Windows10 x64 but the doorhanger is displayed only when the pref extensions.formautofill.addresses.capture.requiredFields is left blank.
Province was still not captured in the doorhanger or stored.
Screenshot attached.

Should I file a separate issue for the fact that the doorhanger is not displayed when pref extensions.formautofill.addresses.capture.requiredFields=street-address,postal-code,address-level1,address-level2? Thanks.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: dlee → joschmidt

and also fix punctuation issues while nopprmalizing.

Attachment #9391753 - Attachment description: WIP: Bug 1873202 - store normalized (abbreviated) state in address capture → WIP: Bug 1873202 - fix punctuation issues while normalizing state
Attachment #9391753 - Attachment description: WIP: Bug 1873202 - fix punctuation issues while normalizing state → WIP: Bug 1873202 - fix address capture doorhanger issues with province normalization
Attachment #9391753 - Attachment description: WIP: Bug 1873202 - fix address capture doorhanger issues with province normalization → Bug 1873202 - fix address capture doorhanger issues with province normalization r=dimi
Pushed by joschmidt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61fdffcaa163 fix address capture doorhanger issues with province normalization r=dimi
Status: REOPENED → RESOLVED
Closed: 9 months ago8 months ago
Resolution: --- → FIXED

I've replicated this issue in Nightly 125.0a1 (2024-03-04) on Windows10 x64.
Verified as fixed in the latest Nightly 126.0a1 (2024-03-24) on Windows10 x64 and macOS11 ARM where the issue no longer occurs.
I've noticed that the Country is currently being captured twice in the address doorhanger, as shown in the attachment. Should I proceed to open a new issue regarding this matter? Thanks

Flags: needinfo?(joschmidt)

Hi Ina,

the address form on this website describes province with country-prefix (CA-BC). The address summary displayed in the doorhanger directly displays this, not-normalized. If we want the summary to display the normalized Province value instead (BC in this case), (which I think would make sense), we could indeed use a new issue.

Flags: needinfo?(joschmidt)

Hi Ina, could you help file a new issue for not showing the "normalized" province value? thank you!

Flags: needinfo?(epopescu)
Blocks: 1887730
No longer blocks: 1887730

Thank you for confirming.
I've submitted Bug 1887730 to address the issue mentioned in Comment 9.
Marking this issue as VERIFIED FIXED.

Status: RESOLVED → VERIFIED
Flags: needinfo?(epopescu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: