Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Order
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2017 at 12:26 UTC
Updated:
27 Oct 2017 at 21:59 UTC
Jump to comment: Most recent
Comments
Comment #2
bojanz commentedDrupal is kinda liberal with TranslatableMarkup vs string, since TranslatableMarkup is automatically casted to string.
However, Adjustments are serialized into the database, so we definitely want to cast the label explicitly, to avoid storing the entire TranslatableMarkup object.
(We have the same problem in many other places, but it's not as critical since those other objects are not serialized this way)
Comment #4
bojanz commented