<
From version < 4.2 >
edited by Eduard Moraru
on 2012/04/03
To version < 5.1 >
edited by Eduard Moraru
on 2012/04/03
>
Change comment: Added annotations migration notes.

Summary

Details

Page properties
Content
... ... @@ -24,8 +24,6 @@
24 24  * The default annotation class is now XWiki.XWikiComments instead of AnnotationCode.AnnotationClass
25 25  * The Annotations tab is now replaced by the Comments tab where you can see both annotations and comments
26 26  
27 -{{warning}}If you were/are using a custom annotations class, other than the previously default AnnotationsCode.AnnotationsClass, in the annotations configuration then the merging-with-comments feature will not be available to you. What you can do is to enable back the Annotations tab by going to the Administration > Look and Feel > Page Elements and changing the value of "Show document annotations " from "No" to "Yes". Now you will still be able to use your custom annotations without being affected by the changes.{{/warning}}
28 -
29 29  == New Velocity tool to serialize Java objects to JSON format ==
30 30  
31 31  {{todo/}}
... ... @@ -80,6 +80,12 @@
80 80  Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were added. Note that you should add ##xwiki.store.migration=1## so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
81 81  {{/warning}}
82 82  
81 +== Annotations Application ==
82 +
83 +If you were/are using a custom annotations class, other than the previously default AnnotationsCode.AnnotationsClass, in the annotations configuration then the merging-with-comments feature will not be available to you. What you can do is to enable back the Annotations tab by going to the Administration > Look and Feel > Page Elements and changing the value of "Show document annotations " from "No" to "Yes". Now you will still be able to use your custom annotations without being affected by the changes.
84 +
85 +Also, a migration script will automatically convert all your existing default annotations (that are using the default AnnotationCode.AnnotationClass) to the new default class (XWiki.XWikiComments). After the migration, the new database version will be 40001.
86 +
83 83  == API Breakages ==
84 84  
85 85  The following APIs were modified since version 3.5:

Get Connected