You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Studio][Index-bundle] Saving an index with object brick or field collection columns fails: "key: This value should not be blank." / "className: This value should not be blank." #3280
2026.x-dev (index-bundle) — the code is identical on the 5.1 branch
Pimcore version
2026.2 (Studio UI)
PHP version
8.3
In the Pimcore Studio index editor, an index that contains at least one column taken from an
object brick (object type objectbricks) or a field collection (fieldcollections) can no
longer be saved. Saving fails with one pair of validation errors per such column, even when
nothing was changed:
key: This value should not be blank.
className: This value should not be blank.
Indexes that only contain plain object columns save fine, which is probably why this has
gone unnoticed.
Steps to reproduce
Open Studio → CoreShop → Indices, open any index.
Add a column from an object brick, e.g. a checkbox field of a brick (or use an index that already has one).
Click save.
Result: the errors above, one key + className pair per brick column (for field collection
columns only className). The index is not saved.
Cause
The backend validates a column's configuration per object type: AbstractConfigurableIndexColumnElementType::addConfigurationFields() adds a configuration
sub form, and IndexColumnTypeObjectBrickType requires key and className
(IndexColumnTypeFieldCollectionType requires className).
The Studio plugin never sends that configuration. In src/CoreShop/Bundle/IndexBundle/Resources/assets/pimcore-studio/src/modules/indexes/IndexManager.tsx, buildSavePayload() destructures configuration out of every column and does not add it back
to cleanCol:
Activity