Skip to content

[Bug]: Locale collector results in #905

Open
@br33f

Description

@br33f

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

  1. Create a class of object which contains at least one "Localized Fields", in my example "Name".
  2. Create DataHub GraphQL Configuration and fill in all the mandatory fields.
  3. In the created GraphQL configuration go to "Schema definition" and add a new Mutation Schema for the class of object you created before.
  4. Go to settings of this mutation schema. The configuration modal (Mutation Schema Fields) will appear.
  5. Add Locale Collector operator from "Others" section.
  6. Add localized field as a child of Locale Collector
  7. Click "Apply" button in modal.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions