-
Notifications
You must be signed in to change notification settings - Fork 11
Validators for values in GUI #1133
Comments
dpu_instance.tool_tip (512) - i think this is never used, should be removed from the code base |
Tested, needs review of problematic fields - listed above. What to do with the, are they unused or ? |
Michale, the code seems to be ok. Regarding |
When we merge your feature request, there is a TODO for us to go through the problems you have discovered and solve them. |
Hi, well, I have created separate issue for each problematic field I mention in my comment. Just not to lose the track of what we do with each of them. |
Resolved in #1263 |
Currently, when inserting too long name for the pipeline, e.g., an error occurs when trying to insert to db. But the value should be validated earlier.
Solution: Add Vaadin validator, which checks the length of certain text fields, using the same LengthLimits from commons-app, but the lenght limit is applied during validation in Vaadin. If the validation succeeds, the data is stored to db.
Apply to all fields in GUI (~10-20), which have restricted length in db.
Suggestion: custom TextArea s limit length?
Use LengthLimits class to hold all the limits. It is sufficient now, it is not needed to be able to specify the limits in a config file.
The text was updated successfully, but these errors were encountered: