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 219 forks source link

Attribute 'maxTextLength' doesn't work for some column types #3220

Open owlet1997 opened 3 years ago

owlet1997 commented 3 years ago

based on forum's question

Environment

CUBA Platform version: 7.2.15 CUBA Studio plugin version: 15.5-211 IntelliJ version: IntelliJ IDEA 2021.2 (Community Edition)

Description of the bug or enhancement

TC:

  1. Open attached project -> Run app
  2. Open Parts browser -> create new instance with long name (name1qweruiopifwegaggyuyio e.g.)
  3. Open NewEntity browser -> create new instance with long name (name1qweruiopifwegaggyuyio e.g.) -> choose created Part -> save

Actual behavior

strings in columns Part and newColumn are not hided the attribute maxTextLength doesn't work for generated column and for displayed namePattern of linked entity: image

Expected behavior

the attribute maxTextLength works correctly