jmix
jmix copied to clipboard
minValidator and maxValidator of Dynamic attributes do not support ArrayList
Environment
Jmix version: 2.3.999-SNAPSHOT Jmix Studio plugin version: 2.3.SNAPSHOT6714-241 IntelliJ version: IntelliJ IDEA 2024.1.4 (Community Edition)
Bug Description
The minValidator and maxValidator of Dynamic attributes types: Integer, Double, Fixed-point number with Is collection = true cause exception
Steps To Reproduce
- Add Dynamic Attributes addon,
- Create Dynamic attribute with "Is collection" = true from the types listed before,
- Set Minimum value and Maximum value,
- Create visibility on a host entity view,
- Press "Apply changes" button,
- Try to create host entity.
Current Behavior
The exceptions appear: minValidator error.zip maxValidator error.zip
Expected Behavior
Host entity detail view opens correctly.