This issue has been created
There is 1 update.
 
 
Page Rights Viewer Application / cid:jira-generated-image-avatar-a90445f1-2d62-4c5f-8398-ab07039218b5 PRVA-3 Open

Title of the page should be get through tdoc.plainTitle instead of doc.title

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-20d12683-91ba-46c8-8de6-0c3a139e1823 LAMBLIN created this issue on 05/Sep/24 09:18
 
Summary: Title of the page should be get through tdoc.plainTitle instead of doc.title
Issue Type: cid:jira-generated-image-avatar-a90445f1-2d62-4c5f-8398-ab07039218b5 Bug
Affects Versions: 1.0
Assignee: Unassigned
Attachments: image-2024-09-05-09-14-35-293.png
Created: 05/Sep/24 09:18
Priority: cid:jira-generated-image-static-major-67f1fd8f-a56d-4c1b-8a4f-ecb4e7a4c1dc Major
Reporter: LAMBLIN
Description:

Actual behaviour :

The title of the page is not rendered correctly when containing scripted title or when translated, example :

42803_image-2024-09-05-09-14-35-293.png

Root cause :

https://github.com/xwiki-contrib/page-rights-viewer/blob/master/src/main/resources/PageRightsViewer/Code/Sheet.xml#L34

doc.title is used and is actually displaying the title as it is, without interpreting it in velocity.

Please consider using tdoc.plainTitle instead.

 
 

1 update

 
cid:jira-generated-image-avatar-20d12683-91ba-46c8-8de6-0c3a139e1823 Changes by LAMBLIN on 05/Sep/24 09:21
 
Assignee: Mohamed Boussaa