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

The javascript for the "Display annotation by default" feature gets cached too eagerly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 16.4.0-rc-1
    • 5.2
    • Annotations
    • None
    • Unknown
    • Awaiting Committer feedback

    Description

      If you've already rendered a page with annotations but without the "display annotation by default" enabled then the JS gets cached so if you change the setting afterwards you'll get the cached JS and you won't see the annotations. Clearing your cache makes it work.

      We need to do something similar like we do for search suggest config where we use a hash function at the end of the js.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: