Closed Bug 1844364 Opened 1 year ago Closed 1 year ago

[PL][cocolita.pl] The autofill is not working for the expiry date field and it is also not saved in the CC manager

Categories

(Toolkit :: Form Autofill, task)

Firefox 117
task

Tracking

()

VERIFIED FIXED
117 Branch
Tracking Status
firefox115 --- disabled
firefox116 --- disabled
firefox117 --- verified

People

(Reporter: ailea, Assigned: dimi)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [fxcm-cc-new-geo])

Attachments

(2 files)

Attached video 2023-07-19_17h34_34.mp4

Found in

  • 117.0a1

Affected versions

  • 117.0a1

Tested platforms

  • Affected platforms: Windows 10, macOS 12, Ubuntu 20

Preconditions

  • browser.search.region to PL
  • extensions.formautofill.creditCards.supportedCountries = PL
  • have at least one CC already saved

Steps to reproduce

  1. Reach the payment form on https://www.cocolita.pl
  2. Click on the CC expiry date field
  3. Click on the CC Number field and using the autofill feature, select any CC entry in order to autofill the fields.
  4. Fill in manually with new CC info and submit the form

Expected result

  • All the CC information should be stored to the CC manager.
  • All the eligible CC fields should be autofilled.

Actual result

  • The expiry date is not stored to the CC manager upon manually submitting the form.
  • The autofill is not working for the expiry date field.

Regression range

  • N/A

Additional notes

:ailea, if you think that's a regression, could you try to find a regression range using for example mozregression?

Whiteboard: [fxcm-cc-new-geo]

When we determine whether the previous field is a credit card field,
we use a hard-coded field name list, which doesn't include credit card
fields like "cc-given-name", "cc-family-name"

This patch fixes this issue by using "isCreditCardField" API.

Assignee: nobody → dlee
Status: NEW → ASSIGNED
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/561b7f418a4d Use isCreditCardField to determine whether the previous field is a credit card field r=credential-management-reviewers,sgalich

The same issue (having the same form) is reproducible on duka.com. I will let a ni on myself to take a look on this site as well, once this bug is fixed.

Flags: needinfo?(asoncutean)
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6497c941182 Use isCreditCardField to determine whether the previous field is a credit card field r=credential-management-reviewers,sgalich
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

Verified - Fixed in latest Nightly 117.0a1 (2023-07-26). The expiry date is now autofilled correctly and it is also saved to the CC manager upon manually submitting the payment form. Verified on cocolita.pl and duka.com as well.

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

Attachment

General

Created:
Updated:
Size: