Closed Bug 1740446 Opened 3 years ago Closed 3 years ago

[FR][DE][ebay.de] The Expiry date is incorrectly autofilled

Categories

(Toolkit :: Form Autofill, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
96 Branch
Tracking Status
firefox94 --- disabled
firefox95 --- disabled
firefox96 --- disabled

People

(Reporter: tbabos, Assigned: tgiles)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Attached image DE and US comparison

Affected Versions:
All latest Firefox versions. Reproducible back to Fx91 as well

Tested on:
MacOS 10.15

Preconditions:
browser.search.region DE
extensions.formautofill.supportedCountries DE
download latest Firefox Nightly with region locale (switch extensions.formautofill.available to "on" for testing non-Nightly builds)

Steps to reproduce:

  1. Reach the payment form on ebay.de (make sure you have at least 1 CC entry saved)
  2. Click on the Expiry date field and choose the saved cc from the dropdown

Expected Results:
The Expiration Date should be auto-filled correctly with the mm/yy format.

Actual Results:
The Expiration Date saved as 2027 - 07 is filled in as "02/7" and fails field validation.

Notes:
Reproducible on Chrome: No
Not reproducible on Ebay with the following locales: UK, US, CA

Assignee: nobody → tgiles
Priority: -- → P1

This is most likely an issue with creditCardDateExpTransformer since we don't have a "J" character to detect the "MM / JJ" used in the German placeholder text.

Pushed by tgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd088b5bd27b
Fix credit card expiry placeholder logic when field is using 'j' to represent year. r=sgalich
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

Verified-fixed on the latest Firefox Nightly 96.0a1 (2021-11-17) (64-Bit) on MacOS 10.15. The expiry date is now correctly auto-filled and will pass field validation.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.