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

This is a bugfix release that covers important issues that we have discovered since 10.8 has been released.

New and Noteworthy (since XWiki 10.8)

Full list of issues fixed and Dashboard for 10.8.1.

All Changes

  • Improvement Closed XWIKI-15730 Always provide an empty choice for non multi list select based editor
  • Bug Closed XWIKI-15729 The class migrator crashes when the class contains a white space
  • Bug Closed XWIKI-15725 Protected extension page deletion warning use a wrong link to Extension Manager
  • Improvement Closed XWIKI-15722 A canceled job after an ExtensionBreakingQuestion timeout should be displayed as canceled and not done
  • Bug Closed XWIKI-15721 Impossible to reset ldap_mode_group_sync field in XWikiPreferences using object editor
  • Bug Closed XWIKI-15716 XWikiDocument#getXObjects should never return null
  • Bug Closed XWIKI-15715 XWiki.XWikiComments document is saved twice at startup
  • Bug Closed XWIKI-15714 Package plugin does not save any history if the document is new and history import is disabled
  • Bug Closed XWIKI-15709 Stopping the xwiki:actions:* events doesn't stop the submit event that triggered them
  • Bug Closed XWIKI-15700 Make sure xml-apis:xml-apis is found when an extension ask for xerces:xmlParserAPIs
  • Bug Closed XWIKI-15699 Make sure com.sun.mail:javax.mail is found when an extension ask for javax.mail:mail
  • Bug Closed XWIKI-15698 Make sure org.jdom:jdom is found when an extension ask for jdom:jdom
  • Bug Closed XWIKI-15697 Make sure commons-beanutils is found when an extension ask for commons-beanutils-core
  • Bug Closed XWIKI-15672 ConflictType.MERGE_SUCCESS should be based on whether or not there is a difference between previous and current
  • Bug Closed XWIKI-15671 Navigation tree not showing in Page Administration > Look & Feel > Themes on Chrome
  • Bug Closed XWIKI-15669 The attachment version, date and comment of XWikiDocument loaded from history is wrong
  • Bug Closed XWIKI-15650 HTML code is displayed on users Administration page on subwiki
  • Bug Closed XWIKI-15645 "Load older notifications" button can leads to http 414
  • Bug Closed XWIKI-15644 Notifications loads forever if you open the notifications menu before the notifications count is displayed
  • Bug Closed XWIKI-15643 xwiki.home property is not always taken into account
  • Bug Closed XWIKI-15642 URL generation should not fallback on current URL protocol/port if the current wiki is different from the target wiki
  • Bug Closed XWIKI-15639 Possible Nullpointerexception when migrating a class
  • Bug Closed XWIKI-15638 Notifications macro is broken if you use "pages", "spaces" or "wikis" parameters
  • Bug Closed XWIKI-15631 'WYSIWYG Editor' section is not in 'Editing' category anymore
  • Bug Closed XWIKI-15609 Broken display for page auto-suggest control in Registration
  • Bug Closed XWIKI-15601 Global Left/Right menus are not displayed in subwikis
  • Bug Closed XWIKI-15455 A watched page generates notifications for events that happened BEFORE user decided to watch it
  • Bug Closed XWIKI-15064 The attachment size of XWikiDocument loaded from history is 0
  • Bug Closed XWIKI-10853 Some static lists in XWiki.XWikiPreferences have the "---" value
  • Improvement Closed XWIKI-10092 An object can be stored in the database without some of its properties
  • Bug Closed XCOMMONS-1503 PDF Export removes accents from documents
  • Bug Closed XCOMMONS-1502 Extension descriptor have the wrong id in the WAR for artifacts with a classifier

Tested Browsers & Databases

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

 BrowserTests performed and results
Chrome30.pngGoogle Chrome 69Not Tested
Firefox30.pngMozilla Firefox 62Jira Tickets Marked as Fixed in the Release Notes
Edge30.pngMicrosoft Edge 17Smoke tests on product/extensions
IE30.pngInternet Explorer 11Smoke tests on product/extensions
Safari30.pngSafari 12Not Tested

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

 DatabaseTests performed and results
hypersql.pngHyperSQL 2.4.1Not Tested
mysql.pngMySQL 5.7Jira Tickets Marked as Fixed in the Release Notes + Smoke tests on product/extensions
oracle.pngOracle 11.2Smoke tests on product/extensions
postgresql.pngPostgreSQL 10Not Tested

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

 Servlet ContainerTests performed and results
tomcat-icon.pngTomcatNot Tested
jetty-icon.pngJetty (XWiki Standalone packaging)Jira Tickets Marked as Fixed in the Release Notes + Smoke tests on product/extensions
jetty-icon.pngJettyNot Tested

Known issues

Backward Compatibility and Migration Notes

General Notes

  • When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
    • xwiki.cfg
    • xwiki.properties
    • web.xml
    • hibernate.cfg.xml
  • Add xwiki.store.migration=1 in xwiki.cfg so that XWiki will attempt to automatically migrate your current database to any new schema. Make sure you backup your Database before doing anything.

Issues specific to XWiki 10.8.1

Cannot remove a property from an xobject

It's not possible anymore to completely delete a property from an xobject if that property exist in the xclass. It will be automatically added back (with null value) when the document is saved.

Default is empty in the list property editor

The List property select based editor now always make sure the default choice is empty value for non multi list. It's possible control that by indicate what is the default value in which case empty value won't be proposed anymore.

API Breakages

The following APIs were modified since XWiki 10.8:

  • Adding a parameter to a REST API is actually not a blocker.
    • Violation type:
      java.method.numberOfParametersChanged
    • Code:
      ## Old:
      method javax.ws.rs.core.Response org.xwiki.notifications.rest.NotificationsResource::getNotifications(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception

      ## New:
      method javax.ws.rs.core.Response org.xwiki.notifications.rest.NotificationsResource::getNotifications(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception
  • Adding a parameter to a REST API is actually not a blocker.
    • Violation type:
      java.method.numberOfParametersChanged
    • Code:
      ## Old:
      method java.lang.String org.xwiki.notifications.rest.NotificationsResource::getNotificationsRSS(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception

      ## New:
      method java.lang.String org.xwiki.notifications.rest.NotificationsResource::getNotificationsRSS(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception
  • Adding a parameter to a REST API is actually not a blocker.
    • Violation type:
      java.method.numberOfParametersChanged
    • Code:
      ## Old:
      method javax.ws.rs.core.Response org.xwiki.notifications.rest.NotificationsResource::getNotifications(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception

      ## New:
      method javax.ws.rs.core.Response org.xwiki.notifications.rest.NotificationsResource::getNotifications(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception
  • Adding a parameter to a REST API is actually not a blocker.
    • Violation type:
      java.method.numberOfParametersChanged
    • Code:
      ## Old:
      method java.lang.String org.xwiki.notifications.rest.NotificationsResource::getNotificationsRSS(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception

      ## New:
      method java.lang.String org.xwiki.notifications.rest.NotificationsResource::getNotificationsRSS(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.lang.Exception
  • Adding a new REST API is actually not a blocker.
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method javax.ws.rs.core.Response org.xwiki.notifications.rest.NotificationsResource::postNotifications() throws java.lang.Exception

Credits

The following people have contributed code and translations to this release (sorted alphabetically):

  • Adel Atallah
  • Guillaume Delhumeau
  • Marius Dumitru Florea
  • Simon Urli
  • Thomas Mortagne
  • Vincent Massol
Tags:
Created by Thomas Mortagne on 2018/10/12
   

Get Connected