Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7747

Right after a migration to 4.0, the current Annotations class is not updated and new annotations are not created properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.0
    • 4.0-rc-1
    • Annotations
    • 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

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: