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

Dependency arrows are missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: depgraph-view-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.491, depgraph-view 0.8
    • Similar Issues:

      Description

      After an upgrade from 0.7 to 0.8 the arrows of the dependencies are missing. See screenshots.

      I'm using the new jsplumb view style.

        Attachments

          Activity

          Hide
          wolfs Stefan Wolf added a comment - - edited

          Which version of the jquery and jquery-ui plugin are you using? Can you see any javascript errors when you open a console (Firebug/Chrome)? What browser are you using? Could you send me the JSON representation of 0.7 and 0.8?

          Show
          wolfs Stefan Wolf added a comment - - edited Which version of the jquery and jquery-ui plugin are you using? Can you see any javascript errors when you open a console (Firebug/Chrome)? What browser are you using? Could you send me the JSON representation of 0.7 and 0.8?
          Hide
          wolfs Stefan Wolf added a comment -

          I just realized the jquery-ui plugin was marked as optional dependency in the pom. Could you try installing and check if it works then?

          Show
          wolfs Stefan Wolf added a comment - I just realized the jquery-ui plugin was marked as optional dependency in the pom. Could you try installing and check if it works then?
          Hide
          andrewk Andrew Kujtan added a comment -

          I have the same issues, I added the jquery-ui plugin and the console outputs the following related to the dep graph,

          Uncaught TypeError: Cannot read property 'left' of null jquery.jsPlumb-1.3.9-all-min.js:1
          ax jquery.jsPlumb-1.3.9-all-min.js:1
          ad jquery.jsPlumb-1.3.9-all-min.js:1
          connect jquery.jsPlumb-1.3.9-all-min.js:1
          (anonymous function) jsPlumb_depview.js:90
          e.extend.each jquery.min.js:2
          (anonymous function) jsPlumb_depview.js:84
          o jquery.min.js:2
          p.fireWith jquery.min.js:2
          w jquery.min.js:4
          d jquery.min.js:4

          The offending line being,

          var bA = ah[this.sourceId], bz = ae[this.sourceId], bv = ah[this.targetId]...bJ = this.endpoints[0].anchor.compute({xy: [bA.left, bA.top]

          this.sourceId and this.targetId are undefined.

          Show
          andrewk Andrew Kujtan added a comment - I have the same issues, I added the jquery-ui plugin and the console outputs the following related to the dep graph, Uncaught TypeError: Cannot read property 'left' of null jquery.jsPlumb-1.3.9-all-min.js:1 ax jquery.jsPlumb-1.3.9-all-min.js:1 ad jquery.jsPlumb-1.3.9-all-min.js:1 connect jquery.jsPlumb-1.3.9-all-min.js:1 (anonymous function) jsPlumb_depview.js:90 e.extend.each jquery.min.js:2 (anonymous function) jsPlumb_depview.js:84 o jquery.min.js:2 p.fireWith jquery.min.js:2 w jquery.min.js:4 d jquery.min.js:4 The offending line being, var bA = ah [this.sourceId] , bz = ae [this.sourceId] , bv = ah [this.targetId] ...bJ = this.endpoints [0] .anchor.compute({xy: [bA.left, bA.top] this.sourceId and this.targetId are undefined.
          Hide
          wolfs Stefan Wolf added a comment -

          Which version of the plugin are you using? It seems to be 0.7, since 0.8 ships with jquery.jsPlumb-1.3.16-all-min.js. If it is 0.7 then this is a known problem (JENKINS-15850) and should be fixed with 0.8.

          Show
          wolfs Stefan Wolf added a comment - Which version of the plugin are you using? It seems to be 0.7, since 0.8 ships with jquery.jsPlumb-1.3.16-all-min.js. If it is 0.7 then this is a known problem ( JENKINS-15850 ) and should be fixed with 0.8.
          Hide
          andrewk Andrew Kujtan added a comment -

          oops, yep, it was 0.7, 0.8 fixed it.

          Show
          andrewk Andrew Kujtan added a comment - oops, yep, it was 0.7, 0.8 fixed it.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stefan Wolf
          Path:
          pom.xml
          http://jenkins-ci.org/commit/depgraph-view-plugin/ab81e0a9d0766e854099048fffe8a563c3c63f73
          Log:
          [FIXED JENKINS-15891] by making jquery-ui mandatory

          Compare: https://github.com/jenkinsci/depgraph-view-plugin/compare/cb2210ba013b...ab81e0a9d076

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stefan Wolf Path: pom.xml http://jenkins-ci.org/commit/depgraph-view-plugin/ab81e0a9d0766e854099048fffe8a563c3c63f73 Log: [FIXED JENKINS-15891] by making jquery-ui mandatory Compare: https://github.com/jenkinsci/depgraph-view-plugin/compare/cb2210ba013b...ab81e0a9d076
          Hide
          drulli Ulli Hafner added a comment -

          Ok, installing the UI plugin fixed the problem!

          Show
          drulli Ulli Hafner added a comment - Ok, installing the UI plugin fixed the problem!

            People

            • Assignee:
              wolfs Stefan Wolf
              Reporter:
              drulli Ulli Hafner
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: