This issue has been created
 
 
Book Versions / cid:jira-generated-image-avatar-cffcfd0a-d2e2-4d02-be34-213dc5032767 BVERSION-233 Open

Publication rename removes anchors in backlinks

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-29eb4108-89ff-472f-9ddb-1d134f087880 Camelia Andrei created this issue on 17/Jul/25 16:03
 
Summary: Publication rename removes anchors in backlinks
Issue Type: cid:jira-generated-image-avatar-cffcfd0a-d2e2-4d02-be34-213dc5032767 Bug
Affects Versions: 1.22
Assignee: Unassigned
Created: 17/Jul/25 16:03
Priority: cid:jira-generated-image-static-major-02d12b7e-3fe3-483b-a770-414824f8f43e Major
Reporter: Camelia Andrei
Description:

1. Create a book, library, and all config.
2. Create a page 1 with some content and a header "Anchor'
3. Create a second page 2 with some content. Add in the content an anchor
E.g.:

[[anchor>>||anchor="HAnchor"]]

or

 [[page 1>>doc:page1.WebHome||anchor="HAnchor"]]

4. Publish the pages
5. Go to the publication pages and check the links

Expected results:
1. The first link takes you to the header on the page
2. The second link takes you header on the other page

Actual results:
The links are updated by the rename to the publishing location (backlinks). But the anchors are lost.

[[anchor >>doc:xwiki:publishingSpace.page2.WebHome]]
[[page 1>>doc:xwiki:publishingSpace.page1.WebHome]]