-
Bug
-
Resolution: Timed out
-
Low
-
2
-
Minor
-
Issue Summary
This is reproducible on Data Center: no
Steps to Reproduce
- Create Object Schema (if you don't already have an existing one)
- Create an External Import
- Follow this guide
- Fail the validation with a reference object more than 30 characters
{ "label": false, "description": "", "name": "Failover Replica Database Instance", "referenceObjectTypeName": "Database Instance", "type": "referenced_object" }
,
Expected Results
The actual response should be reporting the translated error message
`Name must contain at least 2 and max 30 characters`
{ "errorMessages": [ "com.riadalabs.jira.plugins.insight.common.exception.ValidationInsightException: ValidationInsightException: Validation errors were found: name: ErrorMessage{Name must contain at least 2 and max 30 characters', parameters=[], additionalMessage=null}; " ], "errors": {} }
Actual Results
Response returned from the endpoint
{ "errorMessages": [ "com.riadalabs.jira.plugins.insight.common.exception.ValidationInsightException: ValidationInsightException: Validation errors were found: name: ErrorMessage{i18nKey='rlabs.insight.i18n.constraint.violation.ReferenceTypeBean.Size.name', parameters=[], additionalMessage=null}; " ], "errors": {} }...
Workaround
Currently you can search up the il8nKey in go/sourcegraph and find it. However there isn't a clear workaround.