Open
Description
Expected behavior
Mutation configuration modal (Mutation Schema Fields) is closed after clicking "Apply" button.
Actual behavior
Nothing happens from the users perspective. In developer console an error is thrown:
Uncaught TypeError: Cannot set properties of undefined (setting 'children')
From my analysis it looks like this error is thrown at:
pimcore.plugin.datahub.fieldConfigDialog.doGetRecursiveData
Steps to reproduce
Pimcore 11.4.1
DataHub: 1.8.2
PHP: 8.2.19
- Create a class of object which contains at least one "Localized Fields", in my example "Name".
- Create DataHub GraphQL Configuration and fill in all the mandatory fields.
- In the created GraphQL configuration go to "Schema definition" and add a new Mutation Schema for the class of object you created before.
- Go to settings of this mutation schema. The configuration modal (Mutation Schema Fields) will appear.
- Add Locale Collector operator from "Others" section.
- Add localized field as a child of Locale Collector
- Click "Apply" button in modal.