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
Upgrade Error DDM Forms Replacing Polls
Issue We are running an upgrade from Liferay 7.0 to 7.4 and observing the following error in the log: WARN  [main][BasePortletIdUpgradeProcess:511] null com.liferay.portal.kernel.log.LogSanitizerException:...
Unable to use /expandovalue/get-data method
Issue When using the JSON Web Service API, to get the values for multiple column names, we find that filling the columnNames field on get-data Method does not yield any of the expected data. Any values input into the...
Disabling jQuery breaks Control Panel and Login Portlet
Issue After disabling jQuery in DXP 7.2, it is no longer possible to close the control panel, expand the "Users" and other sections, and the login portlet breaks as well, resulting in reduced portal...
"No primary key column found for AssetEntry" errors when upgrading from 7.2 to 7.4
Issue After running the upgrade process from 7.2 to 7.4, the following error message is observed in the upgrade logs: 2023-03-31 21:42:50.514 ERROR [main][DBUpgrader:79] null...
Application Servers supported for DXP 7.4
Issue The documentation page https://learn.liferay.com/en/w/dxp/installation-and-upgrades/maintaining-a-liferay-installation/updating-liferay uses Tomcat as the exemplified Application Server....
License Key CPU count on containers
Issue The container views the total cores of the Host and gives an error that the CPU count has been surpassed when deploying Liferay on a containerized solution, having licensing for a specific amount of...
Calling OSGI Service in fragments
Issue Is there an option/API available to call OSGI Services directly in fragments like it's possible using serviceUtil and staticUtil? Environment DXP 7.4 Resolution Yes, you can obtain this by...
Template to be part of VCS
Issue We are using Github as VCS for our modules and themes code. Structure and Template changes are done manually on the server and they are moved to next server either by export-import or we have to again make the...
Styles Panel styles does not apply to OOTB widgets when Publishing the page
Issue When making changes to the Styles Panel (such as changing the background color of a Widget on a content page), the changes are not applied after publishing the page (In the view-source, CSS classes and styles are...
Cannot access source code on configuration mails with ckEditor
Issue When try to put a source code on the configuration email, after save, the CKeditor shown an empty code. Environment Liferay DXP 7.4 U72 until the U75. Resolution Upgrade to Liferay DXP 7.4 Update 76 or...
Unable to install any patch or hotfix on DXP
Issue Even after trying with a vanilla instance and restarting the server, the user was unable to install a patch or hotfix. Environment Liferay DXP [all versions ] Resolution The above issue also might happen when...
PostgreSQL timezone
Issue The time zone of PostgreSQL is set as UTC. ・Is there any recommended setting for Liferay? ・Is there any issue for Liferay if TimeZone is set to UTC? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP...
Overriding Gradle default settings and downloading files from a local repository using IntelliJ
Issue Downloading files from the default Liferay repository is not possible due to firewall settings while using IntelliJ. How to change the default Gradle settings for the repositories and use a local one...
FrameworkEvent ERROR when deploying Liferay to WebSphere
Issue After an upgrade from 7.4 U69 to U73, the following errors are seen when deploying Liferay to WebSphere: ERROR [Framework Event Dispatcher: Equinox Container:...
Model Listener cannot record an occurrence for user assignment in a password policy
Issue Unable to record audit records using the add association method in either the user listener or the password policy model listener when a user gets assigned to a password policy. Environment DXP 7.4...
API versioning in Liferay Headless
Issue Does Liferay Headless framework support API versioning? Environment DXP 7.3 Resolution Liferay Headless framework does support API versioning. With the combination of this GitHub...
React widgets take more than 10 seconds to load on page
Issue React widgets that have files caching in the browser take 10+ seconds to load. Environment DXP 7.3 Resolution Using Webpack instead of NPM Bundler may help with this performance issue. Having only...
Can't enable Xuggler in DXP
Issue The "enabled" checkbox for Xuggler does not appear after properly following the official documentation containing the steps to enable it. Environment DXP 7.3 Resolution Please note that every time...
Is Liferay Portal 6.2 compatible with CentOS 8.6?
Issue Is Liferay Portal 6.2 compatible with CentOS 8.6? Environment Portal 6.2 Resolution CentOS 8.6 version is not tested and certified with Liferay 6.2. The supported configurations are only those...
How to generate a sustainable Maven project?
Issue When creating a workspace using Maven, it is given a limited number of versions, so how to solve this in order to create a sustainable Maven project? Environment DXP 7.4 Resolution The properties in...
Web Content Display portlet loses the selected Web Content when upgrading to Fix Pack 20
Issue After upgrading Liferay DXP 7.2 from Fix Pack 8 to Fix Pack 20, the Web Content Display portlets lost references to selected Web Content. Environment Liferay DXP 7.2 Resolution The issue is happening because...
Does Liferay support session affinity with Azure?
Issue Is Azure Zone Redundant app service compatible with Liferay DXP? It appears that when you select an App Service to be Zone Redundant, Azure manages the cluster for you. That is, you don’t get access...
Liferay.Util.fetch does not handle impersonate
Issue After pasting the HTML component to a page and then editing it and placing a HTML code to fetch the list of Accounts that were created, it is noticeable that Liferay.util.fetch method does not work...
com.liferay.portal.kernel.exception.NoSuchCompanyException: No Company exists with the key {webId=liferay.com}
Issue When starting a new cluster installation of Liferay 7.3, this error appears, and then I cannot access to Liferay's Control Panel and other functionalities. ERROR [main][PortalInstances:261]...
Failed upgrade process for module com.liferay.journal.service
Issue During your upgrade process, you might encounter an error during the com.liferay.journal.internal.upgrade.v1_1_0.DocumentLibraryTypeContentUpgradeProcess step: Caused by:...
How to add Sample Data to Liferay DXP?
Issue While this might be a simple thing to do, the way to do this may be unknown to most Liferay users. Environment Liferay DXP Resolution Whenever you're first setting up your Liferay DXP server, you'll...
Basic document file entry type group id is zero
Issue After upgrade to DXP 7.4 U67 from 7.0, in DLFileEntryType table the entry for Basic Document type has the following fields set to zero: fileEntryTypeId, groupId, companyId, userId. Is this the intended behavior?...
Remove "Danger" alert for users when session times out
Issue In Liferay portal, when the session is inactive, the users are seeing "Danger: Due to inactivity your session timed out." Environment Liferay DXP 7.0+ Resolution It is possible to disable the notification, by...
Getting the Liferay Session ID in Javascript
Issue We can't extract the session ID using JavaScript, because the Liferay.ThemeDisplay.getSessionId() function consistently returns an empty string. Environment Liferay DXP 7.4 Resolution By default, the...
Second java process running on Liferay server
Issue On our production Liferay server we just saw a second java process running with these arguments: java -cp...
How to trigger test emails from Liferay?
Issue We have configured our SMTP in Liferay. We would like to test if emails are sent and received. How can we trigger a test email from Liferay?   Environment Liferay DXP 7.4   Resolution You can use the attached...
Does the Admin user have to be active to upgrade Liferay?
Issue We are going to upgrade our Liferay portal and would like to know if there is any problem if the Admin user is inactive. Environment Liferay DXP 7.4 Resolution To perform the Liferay upgrade it is not...
Web Content Templates error: ORA-00932, during sorting them
Issue Experiencing a misbehavior after trying to sort the Web Content Templates: ERROR [http-nio-8080-exec-10][render_portlet_jsp:131] null ERROR [http-nio-8080-exec-7][SqlExceptionHelper:142] ORA-00932:...
OSGi configuration disappears
Issue Settings performed through OSGi appear to be lost. Environment Liferay DXP Resolution Check the following aspects: Database: If portal is pointing to a wrong database where configuration isn't defined...
Service Builder fails to build modules if trash-enabled="true" is added as a property
Issue If the service builder entity has the attribute trash-enabled="true" defined, the corresponding abstract methods were generated for the model & wrapper classes(FooModel, FooModelImpl, FooWrapper) for...
NullPointerException during portal startup in ModuleFrameworkImpl._setUpInitialBundles
Issue Portal immediately fails to start due to a exception like the following one: Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native...
Incorrect FieldReference is used when adding a Document of a nonstandard Document Type
Issue When uploading a Document, the ddmFormValuesMap that is passed to the addFileEntry API has the wrong fieldReference. The fieldReference is set to the name instead of the fieldReference. While the...
Alternatives to ClamAV antivirus service
Issue Is there any way to integrate with other antivirus services (such as Sophos or Windows Defender) in place of ClamAV? Environment DXP 7.4 Resolution Unfortunately, there are no other options besides ClamAV. ...
ORA-00001 WARN: unique constraint
Issue When upgrading from DXP 7.2 to 7.4 U53 using an Oracle database, we faced the following WARN message: ORA-00001: unique constraint (PORTALESLIFERAY1.IX_CB778855,  nos podeis decir a que se debe y si afecta al...
How to check jar versions of certain marketplace apps
Issue You might use our OOTB jars to build your modules and for that reason you wish to know the version before an upgrade process, for example Environment Liferay DXP 7.0+ Resolution Navigate to...