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

Annotations does not include request parameters in the rendering of the annotated HTML output

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 3.3-milestone-1
    • Annotations
    • annotations rendered content request parameters
    • Unknown

    Description

      How to reproduce:

      1. Create a test page with the following wiki content:

      {{velocity}}
      #if ($request.parameter)
        Parameter: $request.parameter
      #else
        No parameter.
      #end
      {{/velocity}}
      

      2. View it with annotations turned off. You will see "No parameter".
      3. View again the page with annotations turned off, but this time add a the "parameter" to the request with whatever value. You will see "Parameter: <suppliedValue>".
      4. Repeat step 3, but this time with annotations turned on. You will see "No parameter", even if you have provided the parameter to the request.

      This is quite a big problem since it causes many applications to apparently not work.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: