This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-262aa1f5-94b1-4a53-b5f3-de4477b91c6b XWIKI-23115 In Progress

Page displayer in edit mode shows the document's full name instead of its title

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-11ab6bc5-7e9f-4046-8105-f6b27ff82b24 Alex Cotiugă created this issue on 15/Apr/25 20:40
 
Summary: Page displayer in edit mode shows the document's full name instead of its title
Issue Type: cid:jira-generated-image-avatar-262aa1f5-94b1-4a53-b5f3-de4477b91c6b Bug
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 15/Apr/25 20:40
Priority: cid:jira-generated-image-static-major-ad3d8515-0cb8-4ef4-8952-7d21c4aa2101 Major
Reporter: Alex Cotiugă
Description:

When a class has a page field and that field is displayed in edit mode in another wiki that doesn't have the class, the displayer shows the document's full name instead of its title.

Steps to reproduce:
1. In the main wiki create a new class XWiki.MyClass with a page property page.
2. Create a new page XWiki.MyPage with an object of XWiki.MyClass type and set a value to the page property
3. In a subwiki add the following code to display in edit mode the page property value from the newly created page:

$xwiki.getDocument('xwiki:XWiki.MyPage').display('page', 'edit')

Expected result: display an input suggest with the title of the xwiki:XWiki.MyPage, just as it is displayed in the main wiki when executing the same code.
Actual result: instead of the document title, the document full name is displayed.

 
 

2 updates

 
cid:jira-generated-image-avatar-11ab6bc5-7e9f-4046-8105-f6b27ff82b24 Changes by Alex Cotiugă on 15/Apr/25 20:40
 
Assignee: Alex Cotiugă
Status: Open In Progress