zazuko / cube-creator

A tool to create RDF cubes from CSV files
GNU Affero General Public License v3.0
14 stars 2 forks source link

Error message when editing metadata #1529

Open JLCochardSFA opened 4 months ago

JLCochardSFA commented 4 months ago

After having transformed successfully csv-files, in the cube design, there are unexpected and unclear error messages displayed to the user editing the text fields

Describe the bug

During the editing of the Title or Subtitle (see screenshot) a not understandable error message is displayed to the user, just because the language tag is not defined.

Affected functionalities (all that apply)

Relevant links

**To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior**

This message should first be much clearer for a non-RDF specialist and it should only be displayed when another field is selected (not when you are writing the text into the field). You can't do edit the field and select the tag at the same time !

Screenshots

image

Desktop (please complete the following information):

Additional context

JLCochardSFA commented 4 months ago

By the way if you decide to start by selecting the language tag, you also get an error message (Value has less than 1 characters) Again here the error message is not very informative. A much user-friendly message could be (Field can't be empty) or (Empty field is not allowed). But such a message should only be displayed once the editing focus has changed to another field.