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

Refactor Utils#parseTemplate to use proper components

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 13.10.2
    • Old Core
    • None
    • Unknown

    Description

      Utils#parseTemplate allows to parse a template and send the results in the request response with lots of stuff already performed as part of the process, such as taking into account the cache, resolving javascript placeholders, etc.
      It's currently used in all the XWikiAction and it's quite easy to use it.
      However since it's not a component it's difficult to unit test properly the components using it, so we should refactor it to improve our testing when using it.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: