Actions
Defect #1644
closedShow validation error during create role with parameters
Start date:
05/13/2019
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
When I create new concept for role that has two parameter and one is type UUID and I fill invalid value is durign save concept throw error, but tha validation message isn't shown on frontend. Please show this message.
Validation error:
{ "_errors" : [ { "id" : "3590f4ef-e270-4064-a866-d98b4043de1c", "creation" : "2019-05-13T08:07:59.248Z", "statusEnum" : "METHOD_NOT_ALLOWED", "message" : "Could not read document: Can not construct instance of java.util.UUID from String value '111': not a valid textual representation, problem: UUID has to be represented by the standard 36-char representation\n at [Source: java.io.PushbackInputStream@5e015bf7; line: 1, column: 3246] (through reference chain: eu.bcvsolutions.idm.core.api.dto.IdmConceptRoleRequestDto[\"_eav\"]->java.util.ArrayList[0]->eu.bcvsolutions.idm.core.eav.api.dto.IdmFormInstanceDto[\"values\"]->java.util.ArrayList[1]->eu.bcvsolutions.idm.core.eav.api.dto.IdmFormValueDto[\"uuidValue\"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.util.UUID from String value '111': not a valid textual representation, problem: UUID has to be represented by the standard 36-char representation\n at [Source: java.io.PushbackInputStream@5e015bf7; line: 1, column: 3246] (through reference chain: eu.bcvsolutions.idm.core.api.dto.IdmConceptRoleRequestDto[\"_eav\"]->java.util.ArrayList[0]->eu.bcvsolutions.idm.core.eav.api.dto.IdmFormInstanceDto[\"values\"]->java.util.ArrayList[1]->eu.bcvsolutions.idm.core.eav.api.dto.IdmFormValueDto[\"uuidValue\"])", "parameters" : { }, "module" : "core", "statusCode" : 405, "status" : "METHOD_NOT_ALLOWED" } ] }
Affected version: probably all from role parameters. 100% 9.6.0
Files
Actions