There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-dd223660-18b7-45c3-8efc-3962fd53080a XWIKI-23190 Open

LiveData inline editing fails when classname or page name includes special symbols

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-f145dfed-bfdb-41ca-bc51-def4d06ee5be Nikita Petrenko on 09/May/25 15:22
 
Just updated info regarding environment, I've also checked result on XWiki 17.3 with Tomcat 10.1.34. I'm not reproducing the issue with editing LD entry. My steps more detailed than I provided in description.
# Visit
{noformat} " XWiki.XWikiClasses {noformat} "
# Create own class with special symbols I used colon name for class
{noformat} " My:Class:Test Class {noformat} " , note it'll be recorded in database with reference {noformat} " XWiki.MyClassTestClass {noformat} "
# Define any property to that class (I used
{noformat} " number {noformat} " property)
# Create template and templateProvider, bind both of them.
# Create entries for using that class. I created 3 pages: 1st title
{noformat} " Empty space {noformat} " (with space at the start) its reference {noformat} " XWiki. Empty space {noformat} " , 2nd title {noformat} " Dot . Dot . {noformat} " reference of that page is recorded as {noformat} " XWiki.Dot \. Dot \. {noformat} " , and 3rd title of page {noformat} " Page 1 {noformat} " - reference {noformat} " XWiki.Page 1 {noformat} "
# In Sandbox space add this LD syntax in source mode
{code:none}
{{liveData
id="number"
properties="doc.title,_actions"
source="liveTable"
sourceParameters="className=XWiki.MyClassTestClass&translationPrefix=platform.index."
}}
{{/liveData}}
{code}
# Trigger inline editing and try to edit each entry of LD

Result: everything is working, and modification is saved