From version < 19.3 >
edited by Vincent Massol
on 2012/11/21
To version < 21.1 >
edited by Marius Dumitru Florea
on 2013/07/20
Change comment: There is no comment for this version



Page properties
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.mflorea
... ... @@ -18,6 +18,10 @@
18 18  If you're upgrading from an older version and you use the new Distribution Wizard to upgrade your wiki pages you'll notice that it'll ask you to merge all pages that have been modified between your version and XWiki 4.2. This is because currently the Distribution Wizard doesn't know which version you have and thus asks you to perform the merge manually. This operation may take a long time (up to 20 minutes or so). Thus at the moment if you're upgrading from a previous version we recommend that you Cancel the Distribution Wizard and instead [[Import the new XAR>>platform:AdminGuide.Upgrade]]. This problem is [[reported in this issue>>http://jira.xwiki.org/browse/XWIKI-8252]] and should be fixed in the next release.
19 19  {{/warning}}
20 20  
21 +{{warning}}
22 +If you are migrating from an earlier version than 4.0, and your database contains statistics collected using a version earlier than 2.2, you will probably encounter an issue during our automated database migration. To avoid that issue, you will need to clean up your statistics by executing some SQL commands described in issue [[XWIKI-8129>>http://jira.xwiki.org/browse/XWIKI-8129]]. Be sure to apply these before attempting the migration. If your are in doubt, apply it, these could not hurt. If you don't, you will face duplicate IDs errors during the migration process, and it will fail, preventing you to run your wiki.
23 +{{/warning}}
24 +
21 21  = New and Noteworthy (since XWiki 4.1) =
22 22  
23 23  == Extension Manager improvements ==
... ... @@ -294,10 +294,12 @@
294 294  It's now possible by default to add [[skin extensions>>extensions:Extension.Skin Extension Plugin]] located in JAR files. Example usage:
295 295  
296 296  {{code}}
297 -$xwiki.jsrx("/lib/codemirror.js")
298 -$xwiki.ssrx("/lib/codemirror.css")
301 +$xwiki.jsrx.use("/path/to/file.js")
302 +$xwiki.ssrx.use("/path/to/file.css")
299 299  {{/code}}
300 300  
305 +The content of the resource is obtained using the current context class loader. The path starts on the root of the jar that contains the requested file.
306 +
301 301  == Attachment Picker improvements ==
302 302  
303 303  It is now possible to specify a different document for the source (and target in case of uploads) of attachments, using the new ##targetdocname## macro parameter.

Get Connected