• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • timestamper-plugin
    • None
    • Jenkins 1.57x, Windows 2008 R2 Server master, Windows 7 clients, Chrome35

      Since updating to 1.5.12 of the time-stamper plugin the live-update of the console output is broken for me. Downgrading to 1.5.11 fixes the problem. I supected a core change but discussion on the jenkins-user list gave the right clue to try to downgrade the timestamper plugin.

      In this discussion another user reported the following firebug error, maybe that's helpful:

      Firebug reports this error after receiving a successful POST from http://

      {...}

      /logText/progressiveHtml :
      TypeError: container is null
      http://jenkins-url/static/4a3b5c01/scripts/prototype.js
      Line 1798

          [JENKINS-23867] Incompatibility with Jenkins 1.572 or later

          Dirk Kuypers created issue -
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-23877 [ JENKINS-23877 ]

          I was able to reproduce this with any 1.5.* Timestamper, as long as I was running Jenkins 1.572 or later.

          The console does not update on its own, and the timestamp settings UI (choose clock time, elapsed time or none) does not appear.

          Steven G Brown added a comment - I was able to reproduce this with any 1.5.* Timestamper, as long as I was running Jenkins 1.572 or later. The console does not update on its own, and the timestamp settings UI (choose clock time, elapsed time or none) does not appear.
          Steven G Brown made changes -
          Summary Original: Live-update broken in latest update New: Incompatibility with Jenkins 1.572 or later

          New div layout does not have an element with id 'navigation' causing the javascript to fail.

          I have submitted a pull request to fix this: https://github.com/jenkinsci/timestamper-plugin/pull/9

          all feedback welcome
          thanks
          Geoff

          Geoff Cummings added a comment - New div layout does not have an element with id 'navigation' causing the javascript to fail. I have submitted a pull request to fix this: https://github.com/jenkinsci/timestamper-plugin/pull/9 all feedback welcome thanks Geoff

          Code changed in jenkins
          User: gcummings
          Path:
          src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/script.js
          http://jenkins-ci.org/commit/timestamper-plugin/f1f5cede0830c8fb69ff281770c808d1320c47ed
          Log:
          JENKINS-23867 - updating javascript to work with new core div layout in 1.572

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: gcummings Path: src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/script.js http://jenkins-ci.org/commit/timestamper-plugin/f1f5cede0830c8fb69ff281770c808d1320c47ed Log: JENKINS-23867 - updating javascript to work with new core div layout in 1.572

          Code changed in jenkins
          User: StevenGBrown
          Path:
          src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/script.js
          http://jenkins-ci.org/commit/timestamper-plugin/eaaeef10b89e7f69c36877005d82a96cd4c8dba6
          Log:
          Merge pull request #9 from gcummings/JENKINS-23867

          [FIXED JENKINS-23867] Update javascript to work with new core div layout in Jenkins 1.572

          Compare: https://github.com/jenkinsci/timestamper-plugin/compare/ff832f29297d...eaaeef10b89e

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: StevenGBrown Path: src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/script.js http://jenkins-ci.org/commit/timestamper-plugin/eaaeef10b89e7f69c36877005d82a96cd4c8dba6 Log: Merge pull request #9 from gcummings/ JENKINS-23867 [FIXED JENKINS-23867] Update javascript to work with new core div layout in Jenkins 1.572 Compare: https://github.com/jenkinsci/timestamper-plugin/compare/ff832f29297d...eaaeef10b89e
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Code changed in jenkins
          User: Steven Brown
          Path:
          src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/script.js
          http://jenkins-ci.org/commit/timestamper-plugin/2caf23e6504b93b5a929f686e3eab349d5a58b13
          Log:
          JENKINS-23867 Fail gracefully the next time that the Jenkins UI changes

          If neither the 'side-panel-content' element or the 'navigation' element is
          found, return from the function. Otherwise an error would be thrown which
          can break other behaviour in Jenkins.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Steven Brown Path: src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/script.js http://jenkins-ci.org/commit/timestamper-plugin/2caf23e6504b93b5a929f686e3eab349d5a58b13 Log: JENKINS-23867 Fail gracefully the next time that the Jenkins UI changes If neither the 'side-panel-content' element or the 'navigation' element is found, return from the function. Otherwise an error would be thrown which can break other behaviour in Jenkins.

          Steven G Brown added a comment - - edited

          This is fixed in Timestamper 1.5.13.

          If you are still seeing this problem, try refreshing with Ctrl+F5.
          http://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache

          Steven G Brown added a comment - - edited This is fixed in Timestamper 1.5.13. If you are still seeing this problem, try refreshing with Ctrl+F5. http://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache

            stevengbrown Steven G Brown
            bruce Dirk Kuypers
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: