Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.29.2
-
Fix Version/s: 3.30.1
-
Component/s: Content Selectors, UI
-
Labels:
-
Story Points:2
-
Sprint:NXRM Neo Sprint - 3, NXRM Neo Sprint - 4
Description
I noticed that if you attempt to save a content selector with an invalid name, the form fails to submit as expected.
However, the UI flags the Search Expression field as the source of the problem, not the name field.
Note that we can use a validator to show the field before submitting
The logs show the following:
2021-01-05 17:58:09,870-0500 WARN [qtp1681806537-227] admin org.sonatype.nexus.siesta.internal.resteasy.ResteasyViolationExceptionMapper - (ID 29fdaa80-acf7-454f-b66c-55c4f4923d72) Response: [400] '[ValidationErrorXO{id='PARAMETER name', message='Only letters, digits, underscores(_), hyphens(-), and dots(.) are allowed and may not start with[ui-issue?]rs, digits, underscores(_), hyphens(-), and dots(.) are allowed and may not start with underscore or dot.]