Closed Bug 1382529 Opened 3 years ago Closed 3 years ago

[Form Autofill] Exception occurs when saving a telephone number like "1234567"

Categories

(Toolkit :: Form Manager, enhancement, P3)

52 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: lchang, Assigned: lchang)

References

(Blocks 1 open bug)

Details

(Whiteboard: [form autofill:M4])

Attachments

(1 file)

We cannot save a profile with its "tel" is "1234567" by neither manually adding nor auto-save.
It happens because "1234567" is a valid US number format but its international format can not be determined. It causes "tel" to be "null" and throw the exception.
Comment on attachment 8888168 [details]
Bug 1382529 - [Form Autofill] Exception occurs when saving a telephone number like "1234567".

https://reviewboard.mozilla.org/r/159082/#review167726

LGTM!
Attachment #8888168 - Flags: review?(schung) → review+
Pushed by lchang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9b266be29789
[Form Autofill] Exception occurs when saving a telephone number like "1234567". r=steveck
https://hg.mozilla.org/mozilla-central/rev/9b266be29789
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.