FC4E-CAT / fc4e-cat-ui

The UI of the CAT
https://cat.argo.grnet.gr
Apache License 2.0
1 stars 4 forks source link

Maximum field length (50) on Subject of Assessment (sub)form. #187

Closed wilkos-dans closed 5 months ago

wilkos-dans commented 5 months ago

Describe the bug When editing (and probably also creating) the subject of an assessment in the UI, the fields 'Subject ID', 'Subject Name' and 'Subject Type', which are all mandatory fields raise an error on submitting the form, if one or more of the them contains a string with more than 50 characters. A red alert/dialog box complaining about the database instantly pops up and disappears again. I think a max length should be applied to these three form fields, since the database fields (table Subject) are a varchar(50).

Screenshots image001

themiszamani commented 5 months ago

Thank you @wilkos-dans we will ping you when it is ready

themiszamani commented 5 months ago

done on https://github.com/FC4E-CAT/fc4e-cat-ui/pull/192 and https://github.com/FC4E-CAT/fc4e-cat-api/pull/197