Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0-rc-1
-
None
-
annotations migration class create new
-
Unknown
-
Description
1. ...
1. start the 4.0 snapshot
2. import the 4.0 snapshot xar
– Migration complete –
3. add a new annotation
You will get the message that the annotations has been successfully added, but even after refresh, the annotated content is not shown in the Comments tab, nor the small yellow icon appears near the annotated text making annotation feature unusable after migration.
It seems that the ApplicationReadyEvent listener that is supposed to update the currently configured annotations class is not being triggered. Since it also listens to DocumentUpdatedEvents, (for testing purposes) doing a simple save on the AnnotationsCode.AnnotationsConfig page will fix the annotations class and new annotations can be added.
Issue originally reported by sorinello.
Attachments
Issue Links
- is related to
-
XWIKI-7751 Saving a synthetic XWikiDocument always results in a DocumentCreat(ing/ed)Event instead of DocumentUpdat(ing/ed)Event when the document already exists
- Closed