italia / publiccode-editor

A web editor to create and edit publiccode.yml files
https://publiccode-editor.developers.italia.it
GNU Affero General Public License v3.0
20 stars 25 forks source link

Empty error when validating the field "long description" #284

Open janderssonse opened 1 year ago

janderssonse commented 1 year ago

Subject of the issue

Bug: The sidebar shows an Empty error when validating the field "long description", where other fields show name. Where "Long Description" is, it shows only a X (empty). The effect is that the user will have to search and try every set field to manually find the error.

Steps to reproduce

Enter fields, but make the long description field around 400 chars long. validate!

Expected behaviour

In the right sidebar, erroring fields should be shown and named

Actual behaviour

In the right sidebar non validating fields are shown and named, but for "Long Description" all that is shown is one empty (just a X). The empty X should have the message of the field "long description" so that the user has a better chance of what fields to correct.

janderssonse commented 1 year ago

emptyerror

bfabio commented 10 months ago

Thanks @janderssonse, confirming.