AbsaOSS / AbsaOSS/enceladus

When there is problem in properties there is no appropriate message displayed

Abierto
#1,798 0 comentarios 0 reacciones 1 asignado Reclamado por @benedeki Ver en GitHub
bug Menas priority: undecided UX
Lenguaje dominante
Scala
Estrellas
33
Forks
16
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Describe the bug
If a property definition is badly defined, from the previous version for example, it is going to stop users from editing datasets with no proper or clear message until a person tries to query all properties.

## To Reproduce
Steps to reproduce the behaviour OR commands run:
1. Go to MongoDB properties collection
2. Insert non-valid property definition into the collection
3. Go to Menas
4. Try to edit a dataset

## Expected behaviour
There should be a clear message to the user saying something bad happened in the setup. Maybe that they should contact an Admin.
On the tomcat side, in the logs, there should be a message logged that some of the property definition are badly definide.

## Screenshots
If applicable, add screenshots to help explain your problem.

## Additional Info
- Version 2.22.1
- Property example (wrong suggested value)
```javascript
{
"_id" : ObjectId("60b5f1c684a048b9f1402115"),
"name" : "TestEnumProperty2",
"version" : 1,
"description" : null,
"propertyType" : {
"_t" : "EnumPropertyType",
"allowedValues" : [
"optionA",
"optionB",
"optionC"
],
"suggestedValue" : "optionD"
},
"putIntoInfoFile" : false,
"essentiality" : {
"_t" : "Optional"
},
"disabled" : false,
"dateCreated" : {
"dateTime" : {
"date" : {
"year" : 2021,
"month" : 6,
"day" : 1
},
"time" : {
"hour" : 8,
"minute" : 37,
"second" : 26,
"nano" : 115000000
}
},
"offset" : 0,
"zone" : "UTC"
},
"userCreated" : "menas_admin",
"lastUpdated" : {
"dateTime" : {
"date" : {
"year" : 2021,
"month" : 6,
"day" : 1
},
"time" : {
"hour" : 8,
"minute" : 37,
"second" : 26,
"nano" : 115000000
}
},
"offset" : 0,
"zone" : "UTC"
},
"userUpdated" : "menas_admin",
"dateDisabled" : null,
"userDisabled" : null,
"parent" : null
}
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.