jmix icon indicating copy to clipboard operation
jmix copied to clipboard

minValidator and maxValidator of Dynamic attributes do not support ArrayList

Open SergeiAksenov2 opened this issue 1 year ago • 0 comments

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

  1. Add Dynamic Attributes addon,
  2. Create Dynamic attribute with "Is collection" = true from the types listed before,
  3. Set Minimum value and Maximum value,
  4. Create visibility on a host entity view,
  5. Press "Apply changes" button,
  6. Try to create host entity.

image

Current Behavior

The exceptions appear: minValidator error.zip maxValidator error.zip

Expected Behavior

Host entity detail view opens correctly.

Sample Project

T375j.zip

SergeiAksenov2 avatar Aug 22 '24 09:08 SergeiAksenov2