Affected Version
12.3.12
Affected capability
Data Objects
Steps to reproduce
- Create a
DataObject with a Block that contains an ExternalImage set to “mandatory”.
- Save the object
=> Pimcore complains with: Validation failed: Empty mandatory field
Actual Behavior
The ExternalImage inside the Block gets lost when saving the object, because pimcore/pimcore#19293, which is in the latest release 12.3.12, disallows unserializing the ExternalImage via allowedClasses: false.
Expected Behavior
Everything works as it did before 12.3.12.
There was already a discussion on the changed line where @brusch asked if there “could be some other data types serialized into the block”, which @mcop1 answered with no, but as it turns out, this was wrong.
Affected Version
12.3.12
Affected capability
Data Objects
Steps to reproduce
DataObjectwith aBlockthat contains anExternalImageset to “mandatory”.=> Pimcore complains with:
Validation failed: Empty mandatory fieldActual Behavior
The
ExternalImageinside theBlockgets lost when saving the object, because pimcore/pimcore#19293, which is in the latest release12.3.12, disallows unserializing theExternalImageviaallowedClasses: false.Expected Behavior
Everything works as it did before
12.3.12.There was already a discussion on the changed line where @brusch asked if there “could be some other data types serialized into the block”, which @mcop1 answered with no, but as it turns out, this was wrong.