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

Context document not set when refreshing macros

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0.1, 2.1 M1
    • 2.0
    • WYSIWYG Editor
    • None
    • Any
    • macro refresh context document
    • Integration
    • Hard

    Description

      Follow this steps to reproduce:

      • edit a page in Wiki mode and set the content to:
        {{velocity}}$doc.fullName{{/velocity}}
        
      • save&continue
      • switch to WYSIWYG mode
      • the velocity script was evaluated correctly:
        TestSpace.TestPage
        
      • now refresh macros
      • the velocity script isn't evaluated this time:
        $doc.fullName
        

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: