Release Notes for XWiki 5.4.4

Last modified by Marius Dumitru Florea on 2014/04/16

This is the release notes for XWiki Commons, XWiki Rendering, XWiki Platform and XWiki Enterprise. They share the same release notes as they are released together and have the same version.

This is a bugfix release.

New and Noteworthy (since XWiki 5.4.3)

  • Bug Closed XWIKI-10233 Wiki syntax is interpreted in the Solr Search Suggest response
  • Bug Closed XWIKI-10231 Cannot install/merge XWikiPreferences with Distribution Wizard on subwiki
  • Bug Closed XWIKI-10225 Can not find attachments with numbers as name
  • Improvement Closed XWIKI-10218 Use context classloader to load plugins instead of explicitely search for the right wiki one
  • Bug Closed XWIKI-10214 Wiki macros executed before the content is evaluated breaks request-level sheets and the edit mode document sandboxing
  • Improvement Closed XWIKI-10211 Paginate the Wikis and Extensions steps from Distribution Wizard
  • Improvement Closed XWIKI-10210 Extension Updater should let global admins choose whether to compute the upgrade plan for the entire farm or just for the main wiki
  • Bug Closed XWIKI-10207 XML files in XAR should contains explicit encoding information
  • Bug Closed XWIKI-10206 Most package.xml properties don't end up in the XAR package.xml
  • Improvement Closed XWIKI-10203 Make the default media type binary in WikiStream UI
  • Bug Closed XWIKI-10201 Download is stuck when choosing XAR as output and leaving the Target field empty
  • Bug Closed XWIKI-10200 It's possible to produce a corrupted XAR when indicating a target in WikiStream UI
  • Improvement Closed XWIKI-10199 WikiStream UI should remember execution properties
  • Bug Closed XWIKI-10188 WikiStream export is stopped if an attachment is corrupted
  • Task Closed XWIKI-10187 Hide EntityReferenceSet base bean properties
  • Bug Closed XWIKI-10186 Duplicated root namespace extension in DW "Extensions" step
  • Improvement Closed XWIKI-10185 Add a script service to know if path mode is enabled and what is the default alias suffix.
  • Bug Closed XWIKI-10181 Wrong server name set when a Wiki is created with a domain name setup
  • Bug Closed XWIKI-10175 Installing an extension programatically and preserving xar author causes author to be set to guest for overwritten documents
  • Bug Closed XWIKI-10108 When a user is invited into a wiki where she does not have view right, the wiki is not listed in the Wiki Index for her
  • Bug Closed XWIKI-9716 Error while migrating SearchSuggestConfig page from 4.1.4 to 5.2.1 with DW
  • Bug Closed XCOMMONS-557 Root extension listed in upgrade plan calculated for a namespace
  • Bug Closed XCOMMONS-556 Public static field is matched as bean property
  • Task Closed XCOMMONS-554 Upgrade to XStream 1.4.7
  • Task Closed XCOMMONS-529 Upgrade to XStream 1.4.6

Full list of issues fixed and Dashboard for 5.4.4.

Wiki Alias

  • When the path mode is enabled, the alias of the wiki is now asked in the wiki creation wizard:
    wikialias.png
  • The default suffix for the wiki alias can be set in xwiki.properties:
    #-# [Since 5.4.4]
    #-# Add a default suffix to the alias of a new wiki in the wiki creation wizard, only when the path mode is used
    #-# (see url.standard.multiwiki.isPathBased). If this value is empty, XWiki will try to compute it automatically from
    #-# request URL.
    #-#
    #-# eg: if wiki.alias.suffix is "xwiki.org" and the wiki name "playground"
    #-#     then the computed alias will be: "playground.xwiki.org".
    #-#
    #-# The default is:
    wiki.alias.suffix=

For Developers

$services.wiki.user has new methods called hasPendingInvitation() and hasPendingRequest(). Same in the WikiUserManager interface.

Tested Browsers & Databases

Here is the list of browsers we support and how they have been tested for this release:

BrowserStatus
Chrome30.pngGoogle Chrome 34 Not Tested
Firefox30.pngMozilla Firefox 28 Jira Tickets Marked as Fixed in the Release Notes, Migration from 4.1.4, Migrations from 4.5.4
IE30.pngInternet Explorer 8 Not Tested
IE30.pngInternet Explorer 9 Not Tested

Here is the list of databases we support and how they have been tested for this release:

DatabaseStatus
hypersql.pngHyperSQL 2.3.1 Jira Tickets Marked as Fixed in the Release Notes, Migration from 4.1.4
mysql.pngMySQL 5.6.17 Migration from 4.5.4
oracle.pngOracle 11.2 Migration from 4.5.4
postgresql.pngPostgreSQL 9.3.4 Migration from 4.5.4
For the full list of tests see this page.

Known issues

Backward Compatibility and Migration Notes

General Notes

When upgrading make sure you compare your xwiki.cfg, xwiki.properties and web.xml files with the newest version since some configuration parameters may have been modified or 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.

Solr Search Index

We made changes to the Solr schema in this release (see XWIKI-10225) and unfortunately we don't have support for automatic Solr search index migration at this point. If you upgrade from XWiki 4.3 Milestone 2 or greater then you have to delete the 'solr' folder from the configured permanent directory of your XWiki instance (because the Solr schema is cached there). The Solr index will be recreated automatically and the entire wiki/farm will be re-indexed after a server restart.

API Breakages

The following APIs were modified XWiki 5.4.4:

org.xwiki.wiki.user.WikiUserManager: Method 'public boolean hasPendingInvitation(org.xwiki.model.reference.DocumentReference, java.lang.String)' has been added to an interface
org.xwiki.wiki.user.WikiUserManager: Method 'public boolean hasPendingRequest(org.xwiki.model.reference.DocumentReference, java.lang.String)' has been added to an interface
Tags:
Created by Guillaume Delhumeau on 2014/03/27

Get Connected