-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
Validating String Parameter Plugin 2.7
Enter " as part of the "Failed Validation Message" of a Validated-String-Parameter.
When opening the job and you are asked for parameters below the Parameter an "ERROR"-Text is shown as a link instead of the failed validation message. The link cannot be opened, as the URL is invalid.
As a workaround " must be escaped like this: \"
- is duplicated by
-
JENKINS-19236 Screen freezes if any double quotation mark characters in Failed Validation Message field
-
- Closed
-
- is related to
-
JENKINS-45386 Validating String Parameter does not render HTML in parameter description
-
- Closed
-
- links to
I had a similar issue, but when I installed the plugin and tried to use it, it would always show the text "ERROR" below it but I think the regex match work.
This made the plugin unusable since people wouldn't know when/if they were typing in an error.
However, I was able to fix it by doing a fresh install of jenkins through a build after downloading version 2.3 github repo.(NOTE version 2.4 doesn't work)
Pretty crazy workaround since I literally used the same code as in the plugin downloaded from jenkins but it seems the custom build and upload worked for some reason. I didn't see anything different in the jelly conf or java files so it's strange but this works. Hope this helps someone out since this parameter plugin is pretty essential.