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

including macros defined in syntax 2.0 doc from a syntax 2.0 document has a cache issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Labels:
      None
    • Development Priority:
      High
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      if you save this page in your local wiki

      http://incubator.myxwiki.org/xwiki/bin/view/Test/TestMacroSyntax20

      and then this page

      http://incubator.myxwiki.org/xwiki/bin/view/Test/TestMacroSyntax20UsedFrom20

      The first time you view the second page the macro is not available. This is similar to why we introduced includeMacros in syntax 1.0 to make sure we have the macro loaded.

      This seems like a non critical bug but in reality it is critical. After server restart a bunch of pages in your wiki will display the macro code instead of the result. While reload fixes it this leaves a very bad impression to the users who regularly call the webmaster to notify the problem and sometimes they don't even try to reload and think the application is broken.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: