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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7 M3
    • Fix Version/s: 1.7 RC1
    • Component/s: Velocity
    • Labels:
      None
    • Development Priority:
      Low
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: