Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Save object with table in objectbrick #15955

Closed
LeonNoBears opened this issue Sep 15, 2023 · 3 comments · Fixed by pimcore/advanced-object-search#244
Closed

[Bug]: Save object with table in objectbrick #15955

LeonNoBears opened this issue Sep 15, 2023 · 3 comments · Fixed by pimcore/advanced-object-search#244
Labels

Comments

@LeonNoBears
Copy link

Pimcore version

11.0.8

Steps to reproduce

Create Object Class
Create ObjectBrick
Add Table to ObjectBrick
Link ObjectBrick to Class
Create Object with Class and Add ObjectBrick
Save Object

Actual Behavior

Error:
Pimcore\Model\DataObject\ClassDefinition\Data\Table::getDataForResource(): Argument #2 ($object) must be of type ?Pimcore\Model\DataObject\Concrete, Pimcore\Model\DataObject\Objectbrick\Data\Foo given, called in /vendor/pimcore/advanced-object-search/src/Filter/FieldDefinitionAdapter/Table.php on line 111

Expected Behavior

Tables + content is saved and published

@LeonNoBears
Copy link
Author

@aryaantony92
Copy link
Contributor

Reproducible with 'Column Configuration' enabled for the table data type

@aryaantony92
Copy link
Contributor

Fixed by pimcore/advanced-object-search#244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants