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

Jenkins Build History page: Build Status table is always empty on Safari

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core, dashboard-view-plugin
    • None
    • Jenkins 1.544 to 1.599 running on OS X Server 10.9.2
      Web Browsers: Safari 8.0.3 on Mac OS X 10.10.

      Since Jenkins 1.544, the Build Status section below the timeline graphic on the Jenkins Build History page is always empty on Safari 8.0.3. See screenshot below. Build jobs appear successfully in the timeline, but nothing is shown in the Build Status table below.

      This issue is still present in current Jenkins 1.599. Below are the errors logged in the Safari browser Console:

      [Log] locale set to en (common-content.js, line 98)
      [Error] SyntaxError: Unexpected identifier 'événement'. Expected '}' to end a object literal.
      	(fonction anonyme) (builds, line 153)
      [Error] ReferenceError: Can't find variable: displayBuilds
      	global code (builds, line 166)
      [Log] locale set to en (common-content.js, line 98)
      [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (__history__.html, line 0)
      [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (message-left.png, line 0)
      [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (message-right.png, line 0)
      [Log] locale set to en (common-content.js, line 98)
      

      The Build Status table is not empty using Firefox 36.0 on Mac OS X 10.10, and only one error is logged in the Console:

      aucun élément trouvé start:1:1
      GET https://jenkins.mobile.cgi.com/view/Dashboard/__history__.html [HTTP/1.1 404 Not Found 31ms]
      

          [JENKINS-22519] Jenkins Build History page: Build Status table is always empty on Safari

          Forget this report, the issue was finally related to a French localization. The following string:

          Click to center timeline on event
          

          Was translated to:

          Cliquer afin de centrer le calendrier sur l''événement
          

          But this was breaking the JavaScript code. Adding a backslash \ prefix fix the problem:

          Cliquer afin de centrer le calendrier sur l\''événement
          

          Francis Labrie added a comment - Forget this report, the issue was finally related to a French localization. The following string: Click to center timeline on event Was translated to: Cliquer afin de centrer le calendrier sur l''événement But this was breaking the JavaScript code. Adding a backslash \ prefix fix the problem: Cliquer afin de centrer le calendrier sur l\''événement

          Daniel Beck added a comment -

          Did you submit a fix, or is this something local to your install?

          If this occurs for all users who use Jenkins in French, it's definitely a bug...

          Daniel Beck added a comment - Did you submit a fix, or is this something local to your install? If this occurs for all users who use Jenkins in French, it's definitely a bug...

          The original French strings are OK: there is no apostrophe in that version:

          https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/lib/hudson/buildListTable_fr.properties

          Francis Labrie added a comment - The original French strings are OK: there is no apostrophe in that version: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/lib/hudson/buildListTable_fr.properties

            Unassigned Unassigned
            flabrie Francis Labrie
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: