Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-48

Disabling Syntax Highlighting from Administration requires a clear of the browser cache

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 4.0
    • Component/s: Syntax Highlighting
    • Labels:
      None
    • Similar issues:

      Description

      Because Syntax Highlighting is enabled through an Always Use JSX that inspects the configuration using parsed velocity, the result of the parsing gets cached together with the JSX's code so a change in the configuration is not noticed by the javascript which is now cached with the old value.

      The document version parameter is not helping us either, since it's the Configuration page that gets updated and not the code page, so the code page's version is never incremented to trigger a re-fetch of the server-side JS code.

      Workaround: Refresh/Clear the browser's cache.

        Attachments

          Activity

            People

            • Assignee:
              enygma Eduard Moraru
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: