Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47697

JS error when AuthorizationMatrixNodeProperty used within a Cloud agent template

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      this happens with docker-plugin, see https://github.com/jenkinsci/docker-plugin/issues/546

      AuthorizationMatrixNodeProperty is proposed by docker-plugin as an optional NodeProperty to slave template (like other available NodeProperties).

      The [Add Cloud] button do render html server side and invoke scripts before the DOM elements are actually added to the document. As a result document.getElementById return null and later invocation fail with `{{ Cannot read property 'parentNode' of null}}`. As a result the Add button has no effect and UI is blocked.

       

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            In terms of matrix-auth, this duplicates JENKINS-47885. Due to docker-plugin not having the same sort of bug in its isApplicable call it's not as trivial to work around on the matrix-auth side.

            Nicolas De Loof Could you clarify whether this is supposed to be assigned to you?

            Show
            danielbeck Daniel Beck added a comment - In terms of matrix-auth, this duplicates JENKINS-47885 . Due to docker-plugin not having the same sort of bug in its  isApplicable call it's not as trivial to work around on the matrix-auth side. Nicolas De Loof Could you clarify whether this is supposed to be assigned to you?
            Hide
            ndeloof Nicolas De Loof added a comment -

            Daniel Beck no activity on my side on this issue, I've just blacklisted matrix-auth to avoid this.

            Show
            ndeloof Nicolas De Loof added a comment - Daniel Beck no activity on my side on this issue, I've just blacklisted matrix-auth to avoid this.

              People

              • Assignee:
                Unassigned
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: