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 9.11.7 has been released.

New and Noteworthy (since XWiki 9.11.7)

Full list of issues fixed and Dashboard for 9.11.8.

All Changes

  • Bug Closed XWIKI-15800 Memory leak with groovy macro
  • Bug Closed XWIKI-15727 The escape parameter should be escaped when it appears in a like parameter
  • Bug Closed XWIKI-15724 ClassCastException when specifying the escape character and using like
  • Bug Closed XWIKI-15721 Impossible to reset ldap_mode_group_sync field in XWikiPreferences using object editor
  • 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-15669 The attachment version, date and comment of XWikiDocument loaded from history is wrong
  • 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-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-15623 XWiki 10.8RC1 fails to start on Oracle
  • Bug Closed XWIKI-15607 Can't upgrade debian package from tomcat 7 to tomcat 8 with the same version of XWiki
  • Bug Closed XWIKI-15601 Global Left/Right menus are not displayed in subwikis
  • Bug Closed XWIKI-15578 Error page appears when moving a page with a user
  • Bug Closed XWIKI-15561 Event Stream Bridge does not handle when events are always stored in the main wiki
  • Bug Closed XWIKI-15549 Last item of the notification filter preferences livetable does not display the expected button
  • Bug Closed XWIKI-15541 $hasProgramming is not working as expected
  • Bug Closed XWIKI-15525 User first name and last name containing apostrophes are badly displayed in the groups livetables
  • Bug Closed XWIKI-15507 Typo in hibernate mapping for Derby and DB2
  • Bug Closed XWIKI-15492 XWiki.ClassSheet generates sheets which double escape the special characters in the document titles upon usage of the sheet
  • Bug Closed XWIKI-15491 Can't install custom flavor from local repository in the Distribution Wizard
  • Bug Closed XWIKI-15487 Wrong MIME icon for CSS and HTML files
  • Bug Closed XWIKI-15475 Website field type is wrong in the extension template
  • Bug Closed XWIKI-15449 Notifications dropdown activator's tooltip is called "Watchlist"
  • Bug Closed XWIKI-15445 Notification Filter Preferences Storage doesn't scale
  • Bug Closed XWIKI-15441 Fallback to xwiki.plugin.watchlist.automaticwatch does not work
  • Bug Closed XWIKI-15436 Stack Overflow when there is many notification filters
  • Improvement Closed XWIKI-15431 Add the ability, for admins, to select default autowatch mode on the wiki
  • Bug Closed XWIKI-15416 The field configuration pane shows the "Hint" label without the text input
  • Task Closed XWIKI-15408 Upgrade to CKEditor Integration 1.23
  • Bug Closed XWIKI-15397 Notifications are not (always) automatically loaded in the list on Internet Explorer 11
  • Bug Closed XWIKI-15396 Imported extension with feature having higher version produce a page with wrong verison order
  • Bug Closed XWIKI-15391 Impossible to cancel the deletion of a document in a listener
  • Bug Closed XWIKI-15262 Scheduler jobs of deleted (sub)wikis remain scheduled when the wiki is deleted
  • Bug Closed XWIKI-15229 Old parent (of parent-child relation) is set fully prefixed when a page is moved
  • Bug Closed XWIKI-15064 The attachment size of XWikiDocument loaded from history is 0
  • Bug Closed XWIKI-14959 Flavors list retrieval doesn't work along with shortUrls
  • Bug Closed XWIKI-14803 The files attached by default to the Sandbox pages and several other pages don't have the mime type set
  • Bug Closed XWIKI-10234 Can't access attachment after removing latest version of page
  • Bug Closed XCOMMONS-1484 #cacheEntryRemoved might be called even if there is no entry associated with the removed key
  • Bug Closed XCOMMONS-1481 Potential memory leak in org.xwiki.properties.internal.DefaultBeanManager
  • Bug Closed XCOMMONS-1456 resolveVersions is broken when there is only one found version in local repository
  • Bug Closed XCOMMONS-1455 FilterStreamType#equals does not take the version into account
  • Bug Closed XCOMMONS-1451 Cross dependencies between extensions cause a StackOverflowError in the install plan job
  • Task Closed XCOMMONS-1151 Upgrade to Groovy 2.4.13

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 70Jira Tickets Marked as Fixed in the Release Notes
Firefox30.pngMozilla Firefox 62Not Tested
Edge30.pngMicrosoft Edge 17Not Tested
IE30.pngInternet Explorer 11Not Tested
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.0Not Tested
mysql.pngMySQL 5.7Not Tested
postgresql.pngPostgreSQL 10Jira Tickets Marked as Fixed in the Release Notes
oracle.pngOracle 11.2Not 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.

API Breakages

The following APIs were modified since XWiki 9.11.7:

  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.util.Set<java.lang.String> org.xwiki.notifications.filters.NotificationFilterPreference::getEventTypes()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.util.Set<org.xwiki.notifications.NotificationFormat> org.xwiki.notifications.filters.NotificationFilterPreference::getFilterFormats()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.lang.String org.xwiki.notifications.filters.NotificationFilterPreference::getFilterPreferenceName()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String org.xwiki.notifications.filters.NotificationFilterPreference::getId()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.util.Set<org.xwiki.notifications.NotificationFormat> org.xwiki.notifications.filters.NotificationFilterPreference::getNotificationFormats()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String org.xwiki.notifications.filters.NotificationFilterPreference::getPage()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String org.xwiki.notifications.filters.NotificationFilterPreference::getPageOnly()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.util.List<java.lang.String> org.xwiki.notifications.filters.NotificationFilterPreference::getProperties(org.xwiki.notifications.filters.NotificationFilterProperty)
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.noLongerDefault
    • Code:
      ## Old:
      method java.util.Date org.xwiki.notifications.filters.NotificationFilterPreference::getStartingDate()

      ## New:
      method java.util.Date org.xwiki.notifications.filters.NotificationFilterPreference::getStartingDate()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.nowAbstract
    • Code:
      ## Old:
      method java.util.Date org.xwiki.notifications.filters.NotificationFilterPreference::getStartingDate()

      ## New:
      method java.util.Date org.xwiki.notifications.filters.NotificationFilterPreference::getStartingDate()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String org.xwiki.notifications.filters.NotificationFilterPreference::getUser()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String org.xwiki.notifications.filters.NotificationFilterPreference::getWiki()
  • NotificationFilterPreference store did not scale
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method void org.xwiki.notifications.filters.NotificationFilterPreference::setEnabled(boolean)
  • Young API
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method org.xwiki.notifications.filters.watch.AutomaticWatchMode org.xwiki.notifications.filters.watch.WatchedEntitiesConfiguration::getDefaultAutomaticWatchMode(org.xwiki.model.reference.WikiReference)
  • Not a break: the REST endpoint is the same.
    • Violation type:
      java.method.returnTypeChanged
    • Code:
      ## Old:
      method org.xwiki.notifications.rest.model.Notifications 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) throws java.lang.Exception
  • Adding a REST API is actually not a breakage.
    • 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
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Oana-Lavinia Florean
Simon Urli
Thomas Mortagne
Vincent Massol

Tags:
Created by Eduard Moraru on 2018/10/17
   

Get Connected