Open Bug 1834762 Opened 1 year ago Updated 1 year ago

Form Autofill Data gets doubled when performing the second import

Categories

(Firefox :: Migration, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox114 --- affected
firefox115 --- affected

People

(Reporter: gmoldovan, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached image Doubled data.jpg

Found in
114.0b8

Affected versions
114.0b8
115.0a1

Tested platforms
Affected platforms
Ubuntu 22.05
Windows 10x64
macOS 12
Unaffected platforms: none

Preconditions

Steps to reproduce

  1. Open Firefox and import Form autofill data from Chrome.
  2. Open https://fill.dev/form/identity-simple and check that the form history is imported.
  3. Import Form autofill data from Chrome one more time.
  4. Open https://fill.dev/form/identity-simple and check once again the form history.

Expected result
The import is correctly done, no entry gets doubled.

Actual result
The import is correctly done but the data is doubled after the second import.

Regression range
Most likely not a regression and was introduced when the Import Saved Form History was implemented (bug 1827425).

Severity
S3

Additional note

  • After a third import the data does not get tripled, but we get the following console error :
    Error: Database contains multiple entries with the same fieldname/value pair.
    update resource://gre/modules/FormHistory.sys.mjs:1130
  • On beta the error is displayed several times and on the nightly builds the error is displayed only once.
  • This is reproducible with legacy migration and the new migration wizard.
Attached image Multiple entries.jpg

Here is a screenshot with the console error.

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

Hi Giorgia,

Do other browsers have this same issue? For example, if you create some form autofill entries in Firefox, and then in Chrome, import from that Firefox profile twice, does it create duplicate form autofill entries in Chrome?

Flags: needinfo?(gmoldovan)
Flags: needinfo?(gmoldovan)

Hi Mike,

I created multiple autofill data entries in Firefox and then imported them into both Chrome and Edge. Importing from the same Firefox profile multiple times does not result in duplicate data entries in either Chrome or Edge. Thanks!

Priority: -- → P3
Blocks: 1801313
No longer blocks: 1821736
See Also: → 1838199
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: