Details
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.
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.]