This issue has been created
 
 
Change Request Application / cid:jira-generated-image-avatar-ea7ea140-d3fc-47a1-8159-bd3ec2eb26b8 CRAPP-430 Open

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

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-085d018d-6442-4ec4-aecd-cc30970e6e85 Eleni created this issue on 18/Jun/26 15:51
 
Summary: Error when displaying diffs for pages having attached object of type DocumentationClass inside Change Request
Issue Type: cid:jira-generated-image-avatar-ea7ea140-d3fc-47a1-8159-bd3ec2eb26b8 Bug
Affects Versions: 1.22.3
Assignee: Unassigned
Created: 18/Jun/26 15:51
Priority: cid:jira-generated-image-static-major-72215e73-5db4-4786-84b7-05deeb7b653c Major
Reporter: Eleni
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.