Skip to content

Data Structure Validation: Error difficult to understand #2527

Description

@CFuerstenau

What is your improvement proposal all about?

User-friendly error messages

How does the current implementation works and what is wrong about it?

Error message are difficult to understand for the user

How should the (part of the) feature be implemented?

data type error: value not a number , but number requiered

actual: Can not convert to Double.
propost: The uploaded value is not numeric. Please enter a number.
Comment: There is no option to enter numbers afterward ;-)

invalid seperator used

actual: False decimal character.
propost: Invalid decimal separator. Please check your decimal separator.
advanced: if the system knows the right seperator this could be added instead of the 2. sentence: Please use a comma (e.g. 12,5).
new: "Invalid decimal separator. Currently expected: point."
Comment: We do not know what is causing the error - data or file reader info. Adjusting data could be misleading.

empty field (but not allowed in the structure)

actual: Can not convert to Double.
propost: A value is required here. The cell is currently empty.
Currently: "Value is empty but not optional. Fill the empty fields with missing values or mark as optional."

range constrain

actual: Value(s) out of allowed range. The value should be between 0 inclusive and 6 inclusive.
proposed: Some values are outside the allowed range. Please use values between 0 and 6 (including both).
Comment: inclusive/exclusive is a placeholder according to the settings

list constrain

actual: Value(s) not within the allowed list: AEG1, AEG2, …
proposed: Some values are not in the list of allowed plot IDs.
Comment: Domain constraints can be everything, not only plot ids. All listed values are not in the list ..not only some ..

Number of errors

  • use singluar and plural (1 error, 2 errors) or better (1 issue, 2 issues)

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions