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
Emails are not sent and "Email xxxx will be ignored because it is included in mail.send.blacklist" warning is written to log file
Issue Emails are not sent and some MailMessageListener warn traces are written to the log file: [liferay/mail-1][MailMessageListener:135] Email test@domain.invalid will be ignored because it is included in...
Is there a limit to the number of calendar events that can be displayed?
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Cannot see calendar events after upgrade from 6.1 to DXP
Issue After performing an upgrade from a Liferay 6.1 version to a DXP version, I cannot see the calendar events. Apparently the upgrade didn't handle them. Environment Portal 6.1 -> DXP Resolution There is s separate tool...
Service builder does not respect service.xml setting json-enabled
Issue The json-enabled value specifies whether or not the entity should be annotated for JSON serialization. By default, if the remote-service value is true, then the json-enabled value is true. When setting this...
After building the theme with code changes, the changes are not reflected in the UI as well as in the source code.
Issue When customizing the theme by modifying the source code of Liferay 7.1, the changes are not reflected in the UI as well as in the source code of the theme. Environment Liferay DXP 7.1 Resolution Please Note:...
robots.txt is not updated despite being saved correctly in UI
Issue Updating robots information for pages will show outdated information despite being saved correctly. Environment Liferay DXP 7.0, 7.1, 7.2 Resolution The value of host header in the request and the...
A StaleObjectStateException is Thrown When Using a Liferay Service
Issue After installing Liferay DXP 7.2 Service Pack 1 or Fix Pack 2 a StaleObjectStateException is generated when a customization uses a Liferay service to update or modify data: Caused by:...
DB2 SQL Errors during the database creation
Issue There are DB2 SQL errors during the database creation in the server startup, causing messages in the log like the following:  2019-09-19 07:38:30.286 ERROR [main][ReleaseManagerOSGiCommands:93] bundle...
Blogs Image Properties Moved to OSGi Config
Issue After installing 7.2 fix pack 1 the blogs.image.max size and blogs.image.extentions settings do not persist. Resolution The blogs.image. portal properties have been modularized and need to be set in the Control...
ClientAbortException is thrown while navigating from one page to another
Issue While navigating from one page to another, the following warning messages are thrown.  WARN [http-nio-8080-exec-4][PortalImpl:6751] org.apache.catalina.connector.ClientAbortException:...
How to check which applications you have installed from Marketplace
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Overwrite Cache-Control header settings for resources in liferay-web.xml file
Issue How can I overwrite the Cache-Control header settings for resources that are served via the /documents/ path? We have tried updating the lifery-web.xml to add a servlet filter for that url-pattern, but the...
When I shut down DXP from the Control Panel, the end users get a blank page and no warning message
Issue I go to Control Panel > Server Administration > Shutdown and shut down the server After DXP was shut down and I refresh the page, only a blank screen appears There used to be a warning message in Liferay 6.2...
How can I include my JSP in a Liferay Blade Servlet?
Issue I'd like to include a JSP in the doGet method of my Servlet plugin. The following gives NullPointerException:  this.getServletContext().getRequestDispatcher("index.jsp").include(httpServletRequest,...
Access denied error message is thrown in the browser with XML format of the rest API
Issue After passing the authorization in the HTTP header and while hitting the URL http://localhost:8080/o/greetings/morning, the web service responds to the request with the below error message [XML format] in the...
Portal has upgraded successfully and NullPointerException is thrown with the server startup
Issue Successfully upgraded the Liferay portal from 6.2EE to DXP 7.1 GA but the server is not started and thrown the NPE Null pointer Exception: 2019-09-13 01:11:59.750 ERROR [http-nio-8080-exec-1][MainServlet:1225]...
Retrieving custom cache entity fails with error
Issue The custom cache entity we introduced to Liferay is inaccessible. We configured our custom cache in override-liferay-multi-vm-clustered.xml. When trying to access the custom cache entity from scripting console...
Errors in the log file of the type "Redirect URL is not allowed" and seemingly unrelated symptoms
Issue There are traces in the log of this type: 2019-08-27 08:46:42.641 WARN  [http-nio-8080-exec-4][PortalImpl:1003] Redirect URL .... is not allowed Additionally, some other issues appear at the same time: Some buttons...
Tomcat trimSpaces feature breaks Liferay styling and functionalities
Issue When setting trimSpaces in tomcat-9.0.6/conf/web.xml: <init-param> <param-name>trimSpaces</param-name> <param-value>true</param-value> </init-param> some functionalities on the Liferay User Interface...
LCS Activation Page redirect
Issue The portal redirects automatically to the LCS Activation Page even with activation tokens deployed. Environment Liferay DXP 7.0+ Resolution  Regenerate the LCS tokens, but with "Liferay Instance Activation"...