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

Status Monitor fails from other views than the main view

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • statusmonitor-plugin
    • None
    • Platform: All, OS: All

      From the default view, "Status Monitor" links to:
      http://<hudson-server>/monitor

      From all other list views, however, "Status Monitor" links to:
      http://<hudson-server>/view/<viewname>/monitor
      which results in a 404 error.

          [JENKINS-4208] Status Monitor fails from other views than the main view

          voorth created issue -

          danielgalan added a comment -

          Same problem

          danielgalan added a comment - Same problem
          danielgalan made changes -
          Link New: This issue depends on JENKINS-3064 [ JENKINS-3064 ]

          redsolo added a comment -

          adding me as cc

          redsolo added a comment - adding me as cc

          redsolo added a comment -

          Created an attachment (id=892)
          Patch for fixing issue

          redsolo added a comment - Created an attachment (id=892) Patch for fixing issue

          redsolo added a comment -

          Attached a patch that is similar to how I solved it, but basically this is:

          • Update Hudson core to a much newer version (not sure which one that may solve
            this issue)
          • Make the action implement RootAction, annotate it with Extension. That way you
            dont have to add it manually in the PluginImpl
          • And of course make getUrlName() return "/monitor"

          redsolo added a comment - Attached a patch that is similar to how I solved it, but basically this is: Update Hudson core to a much newer version (not sure which one that may solve this issue) Make the action implement RootAction, annotate it with Extension. That way you dont have to add it manually in the PluginImpl And of course make getUrlName() return "/monitor"

          Code changed in hudson
          User: : danielgalan
          Path:
          trunk/hudson/plugins/statusmonitor/pom.xml
          trunk/hudson/plugins/statusmonitor/src/main/java/hudson/plugins/statusmonitor/MonitorAction.java
          trunk/hudson/plugins/statusmonitor/src/main/java/hudson/plugins/statusmonitor/MonitorPublisher.java
          trunk/hudson/plugins/statusmonitor/src/main/java/hudson/plugins/statusmonitor/PluginImpl.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=21541
          Log:
          [FIXED JENKINS-4208]

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : danielgalan Path: trunk/hudson/plugins/statusmonitor/pom.xml trunk/hudson/plugins/statusmonitor/src/main/java/hudson/plugins/statusmonitor/MonitorAction.java trunk/hudson/plugins/statusmonitor/src/main/java/hudson/plugins/statusmonitor/MonitorPublisher.java trunk/hudson/plugins/statusmonitor/src/main/java/hudson/plugins/statusmonitor/PluginImpl.java http://fisheye4.cenqua.com/changelog/hudson/?cs=21541 Log: [FIXED JENKINS-4208]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          danielgalan added a comment -

          Thanks redsolo for your help!

          danielgalan added a comment - Thanks redsolo for your help!
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            danielgalan danielgalan
            voorth voorth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: