Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
User experience
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2020 at 10:22 UTC
Updated:
26 Apr 2020 at 10:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pieterdcI worked around this issue by loosening up some profile field validation (which was acceptable in my use case), because then, after selecting another profile, it first shows in view mode, and when you then click the "Edit" button, the profile values ARE (updated) in the form.
Comment #3
pieterdcComment #4
pieterdcComment #5
czigor commentedI can confirm the issue. To clarify: You need at least 2 nonvalid profiles (e.g. postal code is too long). The bug appears when you're switching between the two profiles on checkout in the address book.
Comment #6
czigor commentedAs discussed with @mglaman we need to clear user input not only when choosing "Enter a new address" in the profile select but every time we select a profile too.
Comment #8
czigor commentedFixing tests.
Comment #10
czigor commentedComment #11
pieterdcThanks for your quick follow-up!
Looking at the patch, I can imagine it would solve the issue.
I haven't tested it myself though, so I'm leaving the status at "Needs review".
Comment #13
jsacksick commentedCommitted! Thanks czigor!