Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Validate DataGrid work with dynamic attribute #84

Closed
bulgakovea opened this issue Jun 23, 2021 · 0 comments
Closed

Validate DataGrid work with dynamic attribute #84

bulgakovea opened this issue Jun 23, 2021 · 0 comments
Assignees
Milestone

Comments

@bulgakovea
Copy link
Contributor

bulgakovea commented Jun 23, 2021

#81

It looks like the error appears due to an incorrectly saved table configuration. Need to make sure that the problem does not arise if you add dynamic attributes to the new table.

Case 1:

  1. Create new project
  2. Install Dynamic attributes add-on.
  3. Replace table with dataGrid in the UserBrowse
  4. Add <dynattr:dynamicAttributes/> into user-browse.xml facets and xmlns:dynattr="http://jmix.io/schema/dynattr/ui" into <window> tag.
  5. Run app and create dynamic attribute for the User entity and apply it
  6. Open and close User browse
    Expected result:
    Browser opened and closed without any exception. Dynamic attributes are displayed in the table

Case 2:

  1. Open project trdynattr.zip from referenced ticket
  2. Run app
  3. Remove Dyn attr category and apply changes
  4. Create same Dyn attr category and attributes for the User entity and apply it
  5. Open and close User browse
    Expected result:
    Browser opened and closed without any exception. Dynamic attributes are displayed in the table
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants