Skip to content

[BUG] ExternalImages inside Blocks are broken since Pimcore 12.3.12 #262

Description

@jdreesen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Platform Version

    2025.4 - LTS

    Affected capability

    Data Objects

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions