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

Unable to use in inline edit mode a template document containing code even if the current user has Script Rights

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.2-milestone-2
    • 7.2-milestone-1
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:
      1. Create a Main.Template document containing some velocity code:

      {{velocity}}
      $doc
      {{/velocity}}
      

      2. Try to edit in inline mode a new document Main.NewDoc, using Main.Template as template: http://localhost:8080/xwiki/bin/edit/Main/NewDoc?template=Template&parent=Main.WebHome&title=NewDoc&editor=inline
      3. You will get an exception:

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: