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

Velocity not evaluated when creating a page from template using the inline action

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4.2, 8.0, 7.4.4
    • Fix Version/s: 8.2-rc-1, 7.4.5
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      To repeat:
      Create a page called Sandbox.TestTemplate, use firebug to change the "syntax" dropdown to be value="xwiki/1.0" and put the following content:

      $doc
      *bold*
      

      Then go to the following edit url: /bin/inline/Sandbox/TestPage?template=Sandbox.TestTemplate

      Notice the bold is rendered but $doc is not being evaluated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lucaa Anca Luca
                Reporter:
                calebjamesdelisle CalebJamesDeLisle
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: