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. 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.
This is probably the last bugfix release for the 4.1 series.
This release provides 30 bug fixes, mainly in the Extension Manager, including important fixes for extensions that provide components or script services (see XCOMMONS-231 and XCOMMONS-232). It also improves the large data migration introduced in 4.0, in particular to support MS-SQL, and fixes an important issue that cause the migration of annotations to be unintentionally skipped (see below).
New and Noteworthy (since XWiki Enterprise 4.1.3 version)
Full Issue List
XWIKI-8164 User preferences configuration source doesn't work with users from different wikis (virtual mode)
XWIKI-8160 HiddenDocument query filter can put corrupted user documents in the cache (virtual mode)
XWIKI-8154 Can't inject reference based resolver using the old role/hint for current/reference hint
XWIKI-8146 Search RSS feed not having correct content type
XWIKI-8130 copyDocument should not copy the custom mapping of the document xClass
XWIKI-8126 Better error reporting when proper hibernate mapping is not found during R40000XWIKI6990
XWIKI-8125 Add support of Microsoft SQL Server databases in R40000XWIKI6990 migration
XWIKI-8122 Unable to uninstall globally installed extension from subwiki
XWIKI-8119 Displayer does not properly restore context document when there is none
XWIKI-8116 Livetable doesn?t display any files when using page permissions
XWIKI-8082 Can't inject reference based resolver using the old role/hint
XWIKI-8062 R40001XWIKI7540DataMigration is skipped unintentionally
XWIKI-8052 Error in extension should not stop the installation in mid-flight
XWIKI-8051 The message displayed under the progress bar should be the last log message not the first
XWIKI-8050 Force the XWikiUsers class document to use 2.1 syntax
XWIKI-8048 Attachment installed with EM does not have the right author set
XWIKI-8047 Filesize field is not set with attachment installed with Extension Manager.
XWIKI-7142 Can not programatically delete a document located on a diferent wiki than the current one.
XRENDERING-220 JIRA Macro is missing a content field when used with the WYSIWYG editor
XE-1205 Debian package xwiki-enterprise-mysql-common in ubuntu
XCOMMONS-252 Load core/local extension when explicitely asking for it
XCOMMONS-251 Generic type is lost when fallbacking to parent ComponentManager
XCOMMONS-250 Skip new line in custom extension.features property when parsing pom.xml file
XCOMMONS-234 Merge looses data
XCOMMONS-233 ArrayIndexOutOfBoundsException when converting velocity var ending with dot (.)
XCOMMONS-232 Component get always injected with root ComponentManager instead of it's own Component Manager
XCOMMONS-231 Script service installed on a wiki (not on root) is not found by script manager
XCOMMONS-230 Add Provider to get the "context" ComponentManager
XCOMMONS-228 Extension Manager resolution issue
XCOMMONS-227 Merge should fallback on new version by default when a conflict is found
XCOMMONS-225 DefaultLocalExtensionRepository#removeExtension doesn't remove the extension from the memory
Translations
The following translations have been added:
The following translations have been updated:
- Danish
- French
- Hungarian
- Italian
- Latvian
- Portuguese (Brazil)
- Russian
- Swedish
- Simplified Chinese
Known issues
Backward Compatibility and Migration Notes
General Notes
You may also want to import the default wiki XAR in order to benefit from all the improvements listed above.
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.
Issues specific to XWiki Enterprise 4.1.4
R40001XWIKI7540 migration being skipped unintentionally in 4.1.3
Due to a mistake in the code, the R40001XWIKI7540 migration was being unintentionally skipped. This is now fixed and anyone that is upgrading should avoid the problematic 4.1.3 release and directly use 4.1.4 instead.
API Breakages
The following APIs were modified since version 4.1.3:
org.xwiki.job.AbstractJob: Parameter 1 of 'protected void jobFinished(java.lang.Exception)' has changed its type to java.lang.Throwable