Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.3
-
Unknown
-
Awaiting Committer feedback
-
Description
Reproduction step:
- create a page P1 with some content
- add an annotation
- rename the page to P2
- display the annotation
Expected
- the annotated content is displayed back
Actual
- no annotations are displayed
Technical note
This is cause by the Target field of the annotation XWiki.XWikiComments xobject pointing to the old document reference (e.g., P1 in the reproduction steps above)
Until XWIKI-18072 is fixed, the idea is to:
- make the target field optional
- write a data migration to remove target field pointing to the current doc
- document the limitation for annotations pointing to other docs (which should never happen in practice, at least not without an extension or manual manipulation of xobjects)
Page move/rename is at least since XWIKI-1014
Attachments
Issue Links
- is duplicated by
-
XWIKI-5203 Annotations are not displayed on copied pages
- Closed
- is related to
-
XWIKI-21089 AbstractDocumentsMigration memory footprint is too large
- Closed
- relates to
-
XWIKI-19219 Add support for dblist properties in the link refactoring
- Open
-
XWIKI-18072 Update Page xproperties when the linked page(s) are moved
- Closed