Open Bug 1761104 Opened 3 years ago Updated 3 years ago

Doing Credit Card/Address normalization in form submission time

Categories

(Toolkit :: Form Autofill, task, P3)

task

Tracking

()

People

(Reporter: dimi, Unassigned)

References

(Blocks 1 open bug)

Details

While reviewing patch in Bug 1758369, I found out we run normalization code before saving cc/address information to storage (ex, add a record) and when loading data from storage (ex, loading a credit card).

This leads to one problem. Information is not normalized before saving. That is why we have Bug 1758369. The solution of this issue is doing normalization after form submission. But that means our normalization code spreads in different places and make the code hard to maintain.

Another question is that if we already do the normalization before saving cc/address, do we still need to do it while loading the data from the storage? Is it possible we only do the normalization after form submission?

See Also: → 1758369
Severity: -- → N/A
Priority: -- → P3
Blocks: 1796546
You need to log in before you can comment on or make changes to this bug.