Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Order
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2020 at 13:14 UTC
Updated:
2 Oct 2020 at 18:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
neograph734Comment #3
neograph734Comment #4
neograph734Not sure how I got the patch for shipment under this issue number...
Comment #5
neograph734Adding this is a child issue of Commerce #2952529: Support for Layout Builder module.
Comment #6
mglamanPaymentMethod has the same problem.
Drupal core is also inconsistent.
Comment #8
mglamanCommitted, thanks!
Comment #9
neograph734No problem, thanks for committing.
It's been a while, but I believe core was using array_keys() at some point, where it was using the values at other places. Back then I felt array_keys should not have been used there. But since core is using double (key/value) notations in most of its tests, I was not sure enough to report an issue and assumed it was by design. (Still does not make sense to me though)