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

Dashboard web pages don't render correctly in Chrome because of bad cache/session

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core

      After using Chrome for a day, the page renders incorrectly.

      Screenshot: http://imgur.com/9Y11bqz

      It doesn't matter if I hit refresh multiple times, it always renders the same way. If I open another browser, it works fine.

      If I debug under Chrome Dev Tools, I don't see any errors when fetching the resources... just a whole bunch of 304s.

      If I clear the cache manually using the Chrome Web settings, then everything works fine again.

      I went to #jenkins on freenode and apparently other people were having the same issue.

      *Update* I can make the error go away by simply clearing the jenkins cookie and leaving the rest of the cache intact. It seems the error is session related (all the cookie contains is a session id).

      I am using the GitHub plugin for authentication/authorization.

        1. jenkins-chrome-scroll.JPG
          104 kB
          Srinivasan Venkataraman
        2. jenkins_broken_stylesheet.png
          129 kB
          Chris Wozny
        3. jenkins_css_3.PNG
          84 kB
          Kevin Cross
        4. jenkins-gui.png
          69 kB
          Vlad Aginsky
        5. css_issue.jpg
          238 kB
          Ken Garland
        6. css_issue
          238 kB
          Ken Garland

          [JENKINS-17684] Dashboard web pages don't render correctly in Chrome because of bad cache/session

          Owen Mehegan added a comment -

          I don't think the fix has made it into a release yet: http://jenkins-ci.org/changelog

          Owen Mehegan added a comment - I don't think the fix has made it into a release yet: http://jenkins-ci.org/changelog

          Shannon Kerr added a comment -

          Ah, OK, thanks owenmehegan. Do I just keep an eye on the changelog or will I be notified of its release since I'm watching this ticket?

          Shannon Kerr added a comment - Ah, OK, thanks owenmehegan. Do I just keep an eye on the changelog or will I be notified of its release since I'm watching this ticket?

          Christopher Orr added a comment - - edited

          New versions are normally released weekly, so you should see 1.518 released with this fix in the next few days.

          So keep an eye on the changelog. There's no automated notification for tickets which are fixed by a new release.

          Christopher Orr added a comment - - edited New versions are normally released weekly, so you should see 1.518 released with this fix in the next few days. So keep an eye on the changelog. There's no automated notification for tickets which are fixed by a new release.

          Owen Mehegan added a comment -

          Watch the changelog.

          Owen Mehegan added a comment - Watch the changelog.

          Shannon Kerr added a comment -

          Thanks very much to both of you and sorry for my newbie-ness This issue and JENKINS-10442 are the first two real issues I've experienced on Jenkins. Looking forward to the fixes being rolled out.

          Shannon Kerr added a comment - Thanks very much to both of you and sorry for my newbie-ness This issue and JENKINS-10442 are the first two real issues I've experienced on Jenkins. Looking forward to the fixes being rolled out.

          Version 1.518 was released today, which fixes this issue.

          Christopher Orr added a comment - Version 1.518 was released today, which fixes this issue.

          Shannon Kerr added a comment -

          Verified. It's beautiful! Great work! Thanks.

          Shannon Kerr added a comment - Verified. It's beautiful! Great work! Thanks.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          war/pom.xml
          http://jenkins-ci.org/commit/jenkins/804c2ed42e15dcf8576f1697d174550e1370b779
          Log:
          [FIXED JENKINS-17684] Integrate new Winstone with caching fix.

          Cherry-picked-from: 0866cf5c190bcfc8f5b04dd9e335e7ca74bd4980

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: war/pom.xml http://jenkins-ci.org/commit/jenkins/804c2ed42e15dcf8576f1697d174550e1370b779 Log: [FIXED JENKINS-17684] Integrate new Winstone with caching fix. Cherry-picked-from: 0866cf5c190bcfc8f5b04dd9e335e7ca74bd4980

          lacostej added a comment -

          Would like to have this backported to lts-candidate. Seems I cannot add a label on closed issues.

          lacostej added a comment - Would like to have this backported to lts-candidate. Seems I cannot add a label on closed issues.

          Srinivasan Venkataraman added a comment - - edited

          I just upgraded to 2.7.1 I am seeing this problem again. I am not able to reach the post build sections of the dashboard at all.

          Please see

          Srinivasan Venkataraman added a comment - - edited I just upgraded to 2.7.1 I am seeing this problem again. I am not able to reach the post build sections of the dashboard at all. Please see

            accountapp Account App Run by Kohsuke
            rburhum Ragi Burhum
            Votes:
            24 Vote for this issue
            Watchers:
            46 Start watching this issue

              Created:
              Updated: