Uploaded image for project: 'Change Request Application'
  1. Change Request Application
  2. CRAPP-430

Error when displaying diffs for pages having attached object of type DocumentationClass inside Change Request

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.22.4
    • 1.22.3
    • None
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      I tested this locally (XWiki 17.10.7, CR 1.22.3, Doc App 1.13.2) as an admin user with full admin rights.

      Steps to reproduce:

      1. Create a documentation page (a page that has a
        DocumentationClass

        object attached to it).

      2. Add content to any field of the page (or leave it empty).
      3. Save it as a Change Request (new CR or existing CR).
      4. Inside the Change Request, open the “Proposed changes” tab.
      5. Open the “rendered” view of the documentation.

      Actual result:
      The following error is displayed:

      “Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:DocApp.Code.DocumentationSheet]. Check the rights of its last author or the parameters if it's rendered from another script.] Click on this message for details.”

      Expected result:
      The documentation diffs should be rendered correctly without errors.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: