Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11755

Sometimes the generated CSS is buggy

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Initially reported by Denis Gervalle.

      Sometimes, the first request to a CSS file obtains a strange results. For example, Flamingo's style.css is generated without any color theme.

      According to Denis Gervalle, it used to happen in the past with Colibri CSS file too, but it was not so disturbing since the other requests obtain the good output.

      But the problem is that now LESS caches the output, so the error comes back until someone re-saves the skin or the color theme and so refreshes the cache.

      Not easy to debug, I've never hit this locally, but it is frequent on staging server using Tomcat and MySQL. I cannot tell if it is related or not.

        Attachments

        1. step1.png
          step1.png
          10 kB
        2. step2.png
          step2.png
          34 kB
        3. step3.png
          step3.png
          98 kB

          Activity

            People

            • Assignee:
              gdelhumeau Guillaume Delhumeau
              Reporter:
              gdelhumeau Guillaume Delhumeau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: