Details
-
Bug
-
Resolution: Solved By
-
Blocker
-
None
-
16.8.0-rc-1
-
W11Pro, XWiki 17.3.0
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- Enable Advanced User mode.
- Create a new terminal page
- 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.
Actual result
User creates invalid link
xwiki:Main.{selectedWord}
and unintentionally may create a non-existent page under the Main space.
Expected result
Before the regression the dialog uses to only fill the field with the selected word: in such case the creation link was using [lastSpace of current reference].[selectedWord].WebHome for creating the page.
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
Attachments
Issue Links
- is caused by
-
XWIKI-22508 Creating a link in WYSIWYG by selecting text should follow the name strategy
-
- Closed
-
- relates to
-
XWIKI-23229 The link dialog doesn't suggest creating a link to a pasted reference
-
- Open
-
-
XWIKI-23154 Link creation dialog shouldn't allow to be validated without selecting a suggestion value
-
- Closed
-