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

XWikiAction#jsonAnswer should not lead to a template evaluation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.10.6, 13.3-rc-1
    • 12.10.5
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      We use XWikiAction#jsonAnswer to directly send a response to the client, but apparently we never mark the context as finished. And even if we did, marking the context as finished is not enough to prevent evaluating the templates in Utils#parseTemplate. A new flag should probably be introduced to prevent this.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: