Using Autofill profile editor causes multiple last names to be interpreted as middle names |
|
Issue descriptionConsider a name like "Sacha Baron Cohen" (where "Baron Cohen" is his legal surname, not "Cohen"). 1. Enter "Sacha Baron Cohen" in a full name field on any form and submit. 2. Autofill creates a new profile; separates name into "Sacha" (first), "Baron" (middle), "Cohen" (last); although this is incorrect, it is expected because it's the most likely guess. 3. Autofill any form with individual first and last name fields; "Sacha" and "Cohen" will appear. 4. Change the last name to "Baron Cohen" and submit. Autofill correctly updates the profile. Returning to the form will correctly fill in "Baron Cohen" in the last name field. Hooray! 5. Open this profile in the Autofill Settings page. "Sacha Baron Cohen" appears in the full name field, as expected. However, behind the scenes, two things have happened: - The full name has been re-concatenated and re-split (same result as step 2 above) - The profile has been locked, so future corrections (like step 4 above) will have no effect Note that this does NOT require the user to actually submit the edit form.
,
Apr 19 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2706044fbb030e69675bd0ff28c0b332bd486c44 commit 2706044fbb030e69675bd0ff28c0b332bd486c44 Author: tmartino <tmartino@chromium.org> Date: Tue Apr 19 18:40:12 2016 Preserving first/middle/last names when an Autofill profile is submitted via the dialog. BUG= 593391 Review URL: https://codereview.chromium.org/1868003003 Cr-Commit-Position: refs/heads/master@{#388255} [modify] https://crrev.com/2706044fbb030e69675bd0ff28c0b332bd486c44/chrome/browser/ui/webui/options/autofill_options_handler.cc [modify] https://crrev.com/2706044fbb030e69675bd0ff28c0b332bd486c44/chrome/browser/ui/webui/options/autofill_options_handler.h [modify] https://crrev.com/2706044fbb030e69675bd0ff28c0b332bd486c44/components/autofill/core/browser/autofill_data_util.cc [modify] https://crrev.com/2706044fbb030e69675bd0ff28c0b332bd486c44/components/autofill/core/browser/autofill_data_util.h [modify] https://crrev.com/2706044fbb030e69675bd0ff28c0b332bd486c44/components/autofill/core/browser/autofill_data_util_unittest.cc |
|
►
Sign in to add a comment |
|
Comment 1 by tmartino@chromium.org
, Apr 19 2016