After setting custom workspace to "/parent/here" and child workspace to "/child/here", a few cycles of reloading the page and then hitting Apply (with no other changes) results in the following value for "Directory" and "Directory for sub-builds", respectively:

{"directory":["{\"directory\":[\"{\\\"directory\\\":[\\\"/parent/here\\\",\\\"/child/here\\\"]}\",\"/child/here\"]}","/child/here"]}

/child/here

I've had a job become completely un-editable due to this bug.
Attempting to save the job gave "Form Too Large", and clicking "Advanced" did not expose the text box.
The job only became editable after deleting the workspace definition in the job's config.xml, and restarting the server.

In my broken case, the field had turned into 28 kilobytes of the following:
{"directory":["{\"directory\":[\"{\\\"directory\\\":[\\\"{\\\\\\\"directory\\\\\\\":[\\\\\\\"{\\\\\\\\\\\\\\\"directory\\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"directory\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": ...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to