8000 [Bug]: Classification store update user via grid fails · Issue #18851 · pimcore/pimcore · GitHub
[go: up one dir, main page]

Skip to content

[Bug]: Classification store update user via grid fails #18851

@lukmzig

Description

@lukmzig

Pimcore version

11

Steps to reproduce

Open data objects which contain classification store with user field in grid view. Try to update the user field.

Image

Actual Behavior

Exception is thrown as the classification store model passes user ID as int into setLocalizedKeyValue however the getDataForResource method of User data model, which is used for the value comparison, has return type ?stirng.

Image Image

The update via data object detail page is also passing values as integer but they are transformed to string before setting them.

Expected Behavior

Classification store value for user field can be updated via grid.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0