There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1598f5ae-ed45-4ea8-b286-8c16f9dfae74 XWIKI-23206 Open

Incorrect default value in link creation dialog leads to invalid page links in terminal pages

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-5646b624-e1df-43b9-afaa-03bef7f84c8f Changes by Simon Urli on 22/May/25 10:24
 
Description: h3. Steps to reproduce:

# Enable Advanced User mode.
#
Edit Create a test new terminal page in the Sandbox space.
# Select a word or phrase that is not already a link.
# Use the shortcut CTRL + K to trigger the link creation dialog
. (or use the editor toolbar)
# Proceed to create the link without editing the default suggestion.

h3. Actual result

User creates invalid link {noformat}xwiki:Main.{selectedWord}{noformat} and unintentionally may create a non-existent page under the Main space.

h3. Expected result

The link creation Before the regression the dialog should not pre- uses to only fill the target field with {noformat}xwiki the selected word : Main. in such case the creation link was using { {[lastSpace of current reference].[ selectedWord ].WebHome } {noformat } to avoid accidentally for creating invalid or unintended links the page .

h3. Note

This issue does not occur in versions before XWiki 16.8.0. It has been observed starting from XWiki 16.8.0-RC1 with this [change|https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/16.8.0RC1/Entry009/]