Closed Bug 1839827 Opened 1 year ago Closed 1 year ago

Wrong error is displayed after importing Passwords from an empty or invalid CSV file

Categories

(Firefox :: Migration, defect, P1)

Firefox 116
Desktop
All
defect

Tracking

()

VERIFIED FIXED
116 Branch
Tracking Status
firefox116 --- verified

People

(Reporter: gmoldovan, Assigned: mconley)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached image Wrong error.png

Found in

  • Nightly 116.0a1

Affected versions

  • 116.0a1

Tested platforms

Affected platforms:

  • Ubuntu 22
  • Windows 10
  • macOS 12

Preconditions

  • ensure signon.management.page.fileImport.enabled is set on True in about:config.
  • empty or invalid .csv file

Steps to reproduce

  1. Open Firefox and choose to import Passwords from CSV file.
  2. Select the file from the preconditions.
  3. Observe the error displayed.

Expected result
"The file doesn't include any valid password data. Pick another file" error is displayed, according to the Figma spec.

Actual result
"FILE_FORMAT_ERROR" is displayed.

Regression range

  • Not a regression. Started with implementation of CSV in new migration wizard.

Notes

  • Screenshot attached.
Blocks: 1838867

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

Priority: -- → P3
Assignee: nobody → mconley
Priority: P3 → P1
Duplicate of this bug: 1839888
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c736e40dd209 Display a generic error message for password and bookmark file migrations despite the exception. r=kpatenio,fluent-reviewers,flod
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

Verified as fixed on the latest Nightly build (20230623092529) using Windows 10, Ubuntu 22 and macOS 12. The correct error is displayed after importing Passwords from an empty or invalid CSV file.

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

Attachment

General

Created:
Updated:
Size: