This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-2440e29c-b9d6-4f64-8c9a-9495673470bd XWIKI-25638 Open

The typed reference is gone once the URL to page or attachment is saved

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f233b4a0-fd19-4966-87f7-2f4e63bfced1 Nikita Petrenko created this issue on 03/Nov/26 10:40
 
Summary: The typed reference is gone once the URL to page or attachment is saved
Issue Type: cid:jira-generated-image-avatar-2440e29c-b9d6-4f64-8c9a-9495673470bd Bug
Affects Versions: 18.9.0
Assignee: Unassigned
Attachments: links after completing the realtime session.png, links during realtime editing in Blocknote.png
Components: BlockNote
Created: 03/Nov/26 10:40
Priority: cid:jira-generated-image-static-major-777e353b-711c-47e2-a75c-462aad3d1eaa Major
Reporter: Nikita Petrenko
Description:

Have XWiki Jetty/HSQLDB 18.9.0 with the experimental BlockNote editor installed. Configure BlockNote as the default editor.

Steps to reproduce

  1. Modify any test page
  2. In editor, insert a link, provide its name, select type either page or attachment and finally provide the reference
  3. Don't save the page, observe that link works.

Actual result

Being in realtime session, the link type reference is correct format doc:Sandbox.... or attach:...

Expected result

Once the session has ended and page content saved, the link typed reference is lost and ends as invalid link to page or attachment. The page source will be

[[Test Page 1>>/xwiki/bin/view/Sandbox/TestPage1]]

[[image from test page 1>>/xwiki/bin/download/Sandbox/TestPage1/pexels-dzmitry-charnou-2093191166-29399452.jpg]]