cuba-platform / cuba

CUBA Platform is a high level framework for enterprise applications development
https://www.cuba-platform.com
Apache License 2.0
1.34k stars 221 forks source link

TokenList should check validation of the collection attribute #427

Open haulmont-git opened 7 years ago

haulmont-git commented 7 years ago

1) create a pair of entities 2) link them with the ''many_to_many'' association 3) to the association (link) attribute in some entity adjust @NotNull and @Size validation 4) create views for the entities with collection attributes and standard screens 5) on some entity edit-screen add TokenList for the entities linking 6) start the server

7) create an instance of some of two entities and leave the collection empty 8) link more than allowed by the @Size annotation instances

AR: @NotNull and @Size do not work when entities are linked using TokenList, but should.

:link: Related links: {"relates to:": "https://youtrack.haulmont.com/issue/PL-7699"}


Original issue: https://youtrack.haulmont.com/issue/PL-9074

Flaurite commented 3 years ago

@NotNull validation will be fixed in: cuba-platform/cuba#3101