Details
-
Type:
Bug
-
Status: Fixed but Unreleased (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: branch-api-plugin, core, github-branch-source-plugin, pipeline
-
Labels:
-
Environment:Jenkins 2.268, workflow-aggregator + github-branch-source plugins and all dependencies installed today in their latest versions
-
Similar Issues:
Description
- Create a new multi-branch pipeline
- Under "Branch Sources", click "GitHub"
TypeError: inputTbody.childNodes[4] is undefined findNeighboringDynamicInput http://localhost:8080/plugin/github-branch-source/github-scm-source.js:25 <anonymous> http://localhost:8080/plugin/github-branch-source/github-scm-source.js:30 applySubtree http://localhost:8080/static/7e7618a8/scripts/behavior.js:116 applySubtree http://localhost:8080/static/7e7618a8/scripts/behavior.js:111 applySubtree http://localhost:8080/static/7e7618a8/scripts/behavior.js:93 <anonymous> http://localhost:8080/adjuncts/7e7618a8/lib/form/hetero-list/hetero-list.js:110 renderOnDemand http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:684 next http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:723 onreadystatechange http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2850 loadScript http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2846 evalInnerHtmlScripts http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:701 next http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:723 onreadystatechange http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2850 loadScript http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2846 evalInnerHtmlScripts http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:701 next http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:723 onreadystatechange http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2850 loadScript http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2846 evalInnerHtmlScripts http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:701 next http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:723 evalInnerHtmlScripts http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:706 next http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:723 onreadystatechange http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2850 loadScript http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:2846 evalInnerHtmlScripts http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:701 next http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:723 sequencer http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:726 evalInnerHtmlScripts http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:711 renderOnDemand http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:682 onSuccess http://localhost:8080/adjuncts/7e7618a8/org/kohsuke/stapler/bind.js:57 respondToReadyState http://localhost:8080/static/7e7618a8/scripts/prototype.js:1657 onStateChange http://localhost:8080/static/7e7618a8/scripts/prototype.js:1600 bind http://localhost:8080/static/7e7618a8/scripts/prototype.js:414 request http://localhost:8080/static/7e7618a8/scripts/prototype.js:1581 initialize http://localhost:8080/static/7e7618a8/scripts/prototype.js:1550 wrap http://localhost:8080/static/7e7618a8/scripts/prototype.js:452 klass http://localhost:8080/static/7e7618a8/scripts/prototype.js:101 methodName http://localhost:8080/adjuncts/7e7618a8/org/kohsuke/stapler/bind.js:48 renderOnDemand http://localhost:8080/static/7e7618a8/scripts/hudson-behavior.js:661 <anonymous> http://localhost:8080/adjuncts/7e7618a8/lib/form/hetero-list/hetero-list.js:56 notify http://localhost:8080/static/7e7618a8/scripts/yui/event/event-min.js:7 fire http://localhost:8080/static/7e7618a8/scripts/yui/event/event-min.js:7 e http://localhost:8080/static/7e7618a8/scripts/yui/menu/menu-min.js:7
Visible impact: It's not possible to add a new entry under "Behaviors", such as "Discover tags".
Attachments
Issue Links
- links to
Those three table elements are the default traits/behaviors for GitHubSCMSource, and the most relevant file seems like traits.jelly in scm-api Maybe the issue has to do with the use of the divBasedFormLayout variable in traits.jelly when that taglib is used by other plugins? We could try replacing https://github.com/jenkinsci/scm-api-plugin/pull/82 with a PR that bumps the minimum Jenkins version and switches to just always using divs to see if that helps.