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

JS error when AuthorizationMatrixNodeProperty used within a Cloud agent template

    • matrix-auth-2.5

      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.

       

          [JENKINS-47697] JS error when AuthorizationMatrixNodeProperty used within a Cloud agent template

          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.

          ndeloof Could you clarify whether this is supposed to be assigned to you?

          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. ndeloof Could you clarify whether this is supposed to be assigned to you?

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

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

          Daniel Beck added a comment -

          Believed to be fixed in matrix-auth-2.5 (like JENKINS-47885).

          Daniel Beck added a comment - Believed to be fixed in matrix-auth-2.5 (like JENKINS-47885 ).

            Unassigned Unassigned
            ndeloof Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: