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

Missing throbber.gif caused error on the logs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 16.6.0, 16.4.2, 15.10.12
    • 12.10.10
    • Tree
    • None
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      How to reproduce:

      • A crawler visiting a page that includes tree.min.css (e.g.:
        https://<server>/view/Macros/Tree

        that requests

         https://<server>/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/12.10.10/tree.min.css?evaluate=true
      • The crawler will parse the CSS to find images included in the CSS and will find
         background:url("/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/12.10.10/throbber.gif") 

        in tree.min.css

      • The crawler tries to load
         https://<server>/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/12.10.10/throbber.gif

        to download the image

      Result: the following error is printed on the logs

      2022_11_03.jetty.log:2022-11-03 10:25:31,553 [qtp2025864991-292030 - https://<server>/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/12.10.10/throbber.gif] ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [class org.xwiki.resource.events.ResourceReferenceHandledEvent (type = [webjars], parameters = [])] 
      

      Expected result: no error is printed on the server logs

      Attachments

        Activity

          People

            amottier Antoine Mottier
            oana.tabaranu Elena-Oana Florea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: