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

Timestamper script erroring on Firefox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: timestamper-plugin
    • Labels:
      None
    • Environment:
      Timestamper: 1.11.8
      Jenkins: 2.249.2
      Firefox: 82.0.3 (64-bit)
      MacOS: 10.15.7
    • Similar Issues:

      Description

      Uncaught TypeError: modes[mode] is null
          init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
          onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
          onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
      script.js:62:5
          init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
          onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
          onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
          bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
      

      Looking at the code, it looks like an issue defaulting the cookies:
      https://github.com/jenkinsci/timestamper-plugin/blob/master/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js#L62

      Not sure if this is related, but the console options are not rendering on Firefox (see attached screenshot) - which started this investigation.

        Attachments

          Activity

          canuck1987 Tim Brown created issue -
          canuck1987 Tim Brown made changes -
          Field Original Value New Value
          Issue Type Task [ 3 ] Bug [ 1 ]
          multani Jonathan Ballet made changes -
          Description ```
          Uncaught TypeError: modes[mode] is null
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          script.js:62:5
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          ```

          Looking at the code, it looks like an issue defaulting the cookies:
          https://github.com/jenkinsci/timestamper-plugin/blob/master/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js#L62

          Not sure if this is related, but the console options are not rendering on Firefox (see attached screenshot) - which started this investigation.
          {code}
          Uncaught TypeError: modes[mode] is null
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          script.js:62:5
              init https://jenkins.sourcevertex.net/static/6234bfb6/extensionList/hudson.console.ConsoleAnnotatorFactory/hudson.plugins.timestamper.annotator.TimestampAnnotatorFactory3/script.js:62
              onComplete https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1806
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
              respondToReadyState https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1670
              onStateChange https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:1600
              bind https://jenkins.sourcevertex.net/static/6234bfb6/scripts/prototype.js:414
          {code}

          Looking at the code, it looks like an issue defaulting the cookies:
          https://github.com/jenkinsci/timestamper-plugin/blob/master/src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory3/script.js#L62

          Not sure if this is related, but the console options are not rendering on Firefox (see attached screenshot) - which started this investigation.
          multani Jonathan Ballet made changes -

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            canuck1987 Tim Brown
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: