[JIRA] (JENKINS-62139) Extended choice parameter array delete then add fails

2 views
Skip to first unread message

harvash2004@yahoo.com (JIRA)

unread,
May 1, 2020, 12:54:04 PM5/1/20
to jenkinsc...@googlegroups.com
Chris Anderson created an issue
 
Jenkins / Bug JENKINS-62139
Extended choice parameter array delete then add fails
Issue Type: Bug Bug
Assignee: vimil
Components: extended-choice-parameter-plugin
Created: 2020-05-01 16:53
Labels: jenkins json
Priority: Major Major
Reporter: Chris Anderson

When using array's, deleting any entry using the 'x item' button and then trying to add a new entry with '+ item'  button fails.

Error:

jsoneditor.min.js:3 Uncaught TypeError: Cannot read property 'style' of null
at HTMLButtonElement.<anonymous> (jsoneditor.min.js:3)

However, the code runs as expected on the JSON Editor Example page (http://jeremydorn.com/)

Sample Schema:

{
   title":"Test array",
   "type":"object",
   "properties":{
   "Tester": { "type":"array",
   "items": { "type":"object",
   "properties":

{     "myitem":\{"type":"string"}

}
}

}
}
}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages