|
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/] |
|