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

includeMacros pre-parsing should be more flexible in detecting the included documents

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.7 RC1
    • 1.7 M3
    • Velocity
    • None
    • Low

    Description

      Currently, it only works with exactly #includeMacros("Space.Document"), and fails to detect the inclusion if simple quotes are used instead of double quotes, or if spaces are placed around the parameter, which is valid velocity macro call. This causes sometimes the macros to be unrecognized when displaying a document for the first time, but after a refresh to function properly.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: