jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
487 stars 112 forks source link

Sorting - error in the UI settings when opening the list view #3404

Open OlgaMoss opened 2 weeks ago

OlgaMoss commented 2 weeks ago

Environment

Jmix version: 2.2.2

Bug Description

There was a screen with a datagrid and set facets . It was used for a while, the UI settings were saved for the screen. Then the first column of the datagrid was renamed, the property changed. After that, when the screen was opened, NPE appeared, about SORTING in the ui-settings (For more information in the file), since it does not find the changed property, which is indicated in the settings. The problem went away when the UI settings for this screen were removed.

I think because of the property change, such a situation should not arise, perhaps there is an error here.

Current Behavior

The screen does not open, an NPE error message appears. The error text in the attached file error npe getSorted.txt

Expected Behavior

The screen opens without an error.