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

          Nicolas De Loof created issue -
          Nicolas De Loof made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

          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?
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-47885 [ JENKINS-47885 ]
          Daniel Beck made changes -
          Description Original: 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.

           
          New: this happens with docker-plugin, see [https://github.com/jenkinsci/docker-plugin/issues/546|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.

           

          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.
          Nicolas De Loof made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]

          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 ).
          Daniel Beck made changes -
          Released As New: matrix-auth-2.5
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: