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

TemplateManager#getXDOM does not really make sense

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.8, 8.4.6
    • 9.8-rc-1
    • Old Core, Template API
    • None
    • Unknown
    • N/A
    • N/A

    Description

      It's dangerous (proof is XWIKI-14729) and inconsistent (velocity template are executed but wiki template are just parsed).

      It should be deprecated and if the concept of parsing a template is really needed introduce a parse() API instead which does not execute velocity template but instead produce a XDOM which emulate its behavior.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: