There are 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-914de4db-1d3e-4498-996f-ab275897e937 XWIKI-23190 Open

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

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-74187945-b267-4952-bbe7-e50a5ee35477 Nikita Petrenko on 09/May/25 15:11
 
Just updated info regarding environment, I'm also checking 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 "XWiki.XWikiClasses"
# Create own class with special symbols I used colon name for class "My:Class:Test Class", note it'll be recorded in database with reference "XWiki.MyClassTestClass"
# Define any property to that class (I used integer property)
# Create template and templateProvider, bind both of them.
# Create entries for using that class. I created 3 pages " Empty space" (with space at the start) its reference "XWiki. Empty space", "Dot . Dot ." reference of that page is "XWiki.Dot \. Dot \.", and normal page "Page 1" - "XWiki.Page 1"
# 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
 
cid:jira-generated-image-avatar-74187945-b267-4952-bbe7-e50a5ee35477 Nikita Petrenko on 09/May/25 15:11
 
Just updated info regarding environment, I'm also checking 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 "XWiki.XWikiClasses"
# Create own class with special symbols I used colon name for class "My:Class:Test Class", note it'll be recorded in database with reference "XWiki.MyClassTestClass"
# Define any property to that class (I used integer property)
# Create template and templateProvider, bind both of them.
# Create entries for using that class. I created 3 pages " Empty space" (with space at the start) its reference "XWiki. Empty space", "Dot . Dot ." reference of that page is "XWiki.Dot \. Dot \.", and normal page "Page 1" - "XWiki.Page 1"
# 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
 
cid:jira-generated-image-avatar-74187945-b267-4952-bbe7-e50a5ee35477 Nikita Petrenko on 09/May/25 15:16
 
Just updated info regarding environment, I' m ve also checking 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
integer {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 normal 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