Magnolia 5.4.10 delivers a number of fixes and enhancements. It is an important and recommended update for all Magnolia 5.4.x users.
What has changed?
Backup module refactoring
The Backup module has been completely refactored and streamlined. The new module uses Apache's RepositoryCopier API which is independent of the underlying data storage. The new implementation is stable and respects the file store threshold.
However, be aware that backups made with Backup module version 1.6 and earlier cannot be restored with the new implementation. Therefore version 2.0 of the module is not bundled in this release, but rather available as an option. Version 1.6 is bundled with this release.
Search for nodes by path
You can now search for a node in a workbench by entering an absolute path in the search box. The absolute path is case-sensitive. For example, contrary to
modules, searching for
/modules will return just one result since it is an absolute path.
- You can now add an optional switch
/server/filters/cms/variantResolverto disable the deep wrapping of pages with
PersonalizationNodeWrappers are now stored in a request-scoped cache to improve the performance of personalized content.
Improved response times when browsing content
The version history of a content node is now accessed only once per request. This is an interim solution to mitigate excessive access to JCR version storage while browsing through content.
Symbolic link to light module directory recognized
Resources in a light-module directory that has been created as a symbolic link in the file system are now registered and observed correctly by
Language support: Korean
A Korean language pack has been added to the system (
/server/i18n/system/languages/ko) and the webapps.
URL connection closed
Any call to
info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile#getLastModified() is concluded by closing the URL connection, which should avoid the "Too many open files" error from appearing in the logs of the production mode.
This release also comes with a number of other changes, bug fixes and several security improvements in module configurations.
An aggregated changelog for 5.4.10 contains all the changes.
This release includes the following new module versions:
- Activation 5.4.5
- Advance Cache 1.8.1
- Backup 2.0
- Community Edition 5.4.10
- Content Importer 1.0.1
- Demo 1.0
- Enterprise Edition 5.4.10
- Groovy 2.4.7
- Language bundles 1.0.8
- Magnolia 5.4.10
- Magnolia Templating Essentials 1.0
- Pages 5.4.9
- Personalization 1.3.1
- Resources 2.4.8
- SiteMesh 1.0.4
- UI 5.4.10
How to update from earlier versions
- Generally, follow the standard update procedure.
- Please check Changes for Magnolia 5.4.x users.
- Please check Important changes for Magnolia 5.2 and 5.3 users.
- Please check how to update from Magnolia 5.2 and earlier if required.
- Please check how to update from Magnolia 4.5 and earlier if required.
Change for 5.4.x
The following change only applies to users running Magnolia 5.4 (major release) and maintenance releases 5.4.1 to 5.4.3.
Add the following lines:
Important changes for Magnolia 5.2 and 5.3 users
If you had STK installed
If you continue to work with STK, use the new
magnolia-enterprise-pro-stk-bundle as a basis for your project. It includes Enterprise Pro, STK and the old demo project. You get all STK functionality out of the box. Exclude the demo-project if it's in your way.
In order to enable getting an HTML excerpt in a query result, you should update the configuration files of your Jackrabbit instances. Add the two
<param/> directives within your
Add the log configuration for org.reflections
How to update from Magnolia 5.2 and earlier
To update your project, follow the standard update procedure, then make the following changes:
- Update your content apps with the content app upgrade task. It automatically takes care of the following:
Using the content connector.
Updating configuration of availability rules and default rule classes
Updating selected action definitions with node-type based availability
- If you used the DAM:
- If you have a custom jBPM workflow:
- In the
info.magnolia.module.workflow.jbpm.JbpmWorkflowManager#completeWorkItemmethod, checking for present parameters is obsolete and refers to publication related workitems. The method is no longer used for completing a workitem in the new human task context. It is still valid in the context of completing service tasks, however.
Stop using the
info.magnolia.module.workflow.jbpm.JbpmWorkflowManager#getWorkItemmethod. It was used to complete a work item for human tasks. Furthermore, the wrapper we initialize only holds the
The previously hardcoded
mgnlDataparameter is now configurable in
- In the
- If you have custom widgets or Vaadin add-ons:
- Magnolia's default widgetset was relocated to
- Update your webapps's
- Otherwise Magnolia will automatically fall back to the new widgetset but will issue warnings during upgrade, and whenever a user logs in to Magnolia.
- Magnolia's default widgetset was relocated to
How to update from Magnolia 4.5 and earlier
Allocate more JVM memory
Magnolia 5.4.10 ee-bundle may require you to allocate more memory to the Java Virtual Machine (JVM). If you see a
java.lang.OutOfMemoryError in the startup log or the system stops responding during installation, increase the Java heap size. The default maximum heap size is 512M. Try a higher value such as 1024M. We are working on uncovering the root cause for the increased memory need.
See: Java out of memory
Processed Resources app conflict
If you upgrade to Magnolia 5.4.10 from 5.4.2 or earlier then you will experience UUID conflict if you try to also install the new Processed Resources app during the upgrade.
To work around this issue complete the upgrade before installing the Processed Resources app.
The Magnolia team would also like to thank everyone who reported issues, contributed patches, or simply commented on issues for this release. Your continued interest helps us make Magnolia better. Special thanks go to: Thim Anneessens, Philipp Bärfuss, Nils Breunese, Jordie Diepeveen, Florian Fuchs, Michael Matzke, Teresa Miyar, Jessica Nash, Frank Sommer, Vivian Steller, Richard Unger, Bence Vass, Tom Wespi and Nickolaus Wing.