Capability

Development and Tooling

Liferay offers a comprehensive toolkit to extend or customize your digital experience. Build applications quickly with low-code/no-code features like Objects, or leverage developer tools like Liferay Workspace and Blade CLI for further customizations.

For users on PaaS or running Self-Hosted, Liferay also offers tools deploying customizations.

Feature
Deployment Approach
How to enable Hibernate query parameters logging
Issue Sometimes it can be useful to check which query is executed against the database as well as its parameters. Resolution To show the information in the logs the following has to be done: From Control Panel...
Error during Liferay startup after updating a config or cfg configuration file in the osgi/configs folder
Issue After editing a config or configuration file in the osgi/configs folder, there are unexpected errors during the startup process, that can prevent Liferay from starting correctly The errors detected in 7.2 Fixpack...
When adding long values to a JSON object using the Liferay API a String with double quotes is being returned
Issue When generating a new JSON object using the Liferay API (JSONObjectImpl.java) and a new long value is added to it the returned value is a String with double quotes. In this case the user is calling...
A servlet matching the filter (servlet.init.private=false)(servlet.type=friendly-url) is unavailable
Issue The following WARN message is obtained during the portal startup: 2020-02-07 09:02:43.401 WARN  [http-nio-9090-exec-7][PortalImpl:6752] javax.servlet.ServletException: A servlet matching the filter...
Exported Page Template SAVES Custom Fragment Configurations / Imported Page Template IGNORES Custom Fragment Configurations
Issue Steps to Reproduce: Create a custom fragment with any type of configuration. (I've tested with "dataType": "int" and "type": "text"). Alternatively you can import the attached zip that includes a custom fragment....
Requires 3.0 opt-in when customizing Control Panel
Issue When deploying a module that customizes Control Panel, the changes don't take effect and I get: java.lang.UnsupportedOperationException: Requires 3.0 opt-in. Environment Liferay DXP 7.2 Resolution The...
Schedulers are not initialized as intended in a clustered environment
Issue In a clustered environment if we restart the nodes at the same time for a deployment, schedulers and information can be lost.  Environment Liferay DXP 7.3 Resolution The issue described above is...
NoClassDefFoundError when starting the nodes simultaneously
Issue The following error is thrown when the nodes of the cluster are started simultaneously:...
Configure default database if the one defined in jndi is not available
Issue When the database is configured through the portal property: jdbc.default.jndi.name (and its properties defined in ROOT.xml) and it is, for some reason, not available when the portal starts, the...
How to fix "Store is not available" exception when using Amazon S3 for Liferay DXP 7.2 Fix Pack 13?
Issue When setting up or upgrading to Liferay DXP 7.2 Fix Pack 13, files in Documents and Media are not available and/or new files cannot be added and the below error occurs in the log: WARN...
Changes made to LDAP connection settings do not go into effect
Issue Despite making changes to LDAP connection settings through Control Panel > Instance Settings > LDAP > Connection, those changes don't go into effect, and the default settings are used when connecting to the LDAP...
Performance of the JSLoaderModulesServlet
Issue Steps to Reproduce: Start a server With a navigator, open the dev-tools and look at the network tab, and load the home. Refresh the home. Actual Results: js_loader_modules file is never cached. Size: X KB...
How to disable simultaneous login from multiple sessions
Issue How to disable users to simultaneously login to Liferay DXP using multiple different sessions. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3  Resolution Please add the following...
User is required to change their password when they first log in
Issue  User is required to change their password when they first log in Environment DXP 7.2+ Resolution Add the below properties in portal-ext. properties files: users.reminder.queries.custom.question.enabled=false...
How to generate multiple Java Thread Dumps in Linux and Windows
Issue In case of a throughput issue, the Liferay support service usually asks to take some java thread dumps from the Liferay server, in an interval of 1-2 seconds. Taking several thread dumps, allows you to detect if a...
${processor.processMax()} error message with a blank page
Issue Opening different pages and menus on DXP 7.2 and above could result in an empty page showing the ${processor.processMax()} error message The solution only applies if you use the...
Failed upgrade process com.liferay.asset.display.page.internal.upgrade.v2_3_2.UpgradeAssetDisplayPageEntry
Issue The following error is thrown while upgrading a DXP 7.3 instance:...
Obsolete CBC Ciphers (AES, ARIA, etc)
Issue "Obsolete CBC Ciphers" warning message can appear during a security revision or in certain browsers. Environment Liferay DXP. Resolution The message points to a vulnerability related to the available cipher...
FileImpl "Unable to extract text from" and other errors during document indexation related to TIKA library
Issue If we execute a reindex of documents (DLFileEntry) we have several warnings and errors in the log file with the message "Unable to extract text from" and related to FileImpl and TikaException: Tried to allocate an...
Internal Server Error thrown due to orphan portlet
Issue Steps to Reproduce 1) Create a theme with an embedded DM portlet (portletId = 20) in Liferay 6.2. 2) Deploy this theme. 3) Visit the page configured with that theme and check that the embedded DM portlet is...