Capability

Platform

Liferay DXP is a robust platform with its own navigation menus, configuration methods, and core features. These core features are foundational to effective system administration, maintenance, notifications, and other core platform functions.

Feature
Deployment Approach
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?...
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...
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...
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...
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...
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...
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...
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...
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...
Unique Constraint Violated error seen when upgrading Liferay
Issue Unique Constraint Violated error is seen when upgrading major Liferay versions (such as 7.2 to 7.4), as follows: ERROR [main][UpgradeStepRegistratorTracker:199] Failed upgrade process for module...
How to modify API URL?
Issue If we are removing the /o/ from URLs, they are not recognised anymore. Environment Liferay DXP 7.1+ Resolution You can create a hostname e.g. api.something.com and have Apache (or Nginx) do the proxy pass to...
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...
NullPointerException - liferay/monitoring
Issue You might encounter some excessive logging in your portal related to Liferay Monitoring: ERROR [liferay/monitoring-982][ParallelDestination:59] Unable to process message {destinationName=liferay/monitoring,...
"No User exists with role Administrator" error seen when upgrading Liferay
Issue "No User exists with role Administrator" error is seen when upgrading major Liferay versions, as follows: ERROR [main][VerifyProcessTrackerOSGiCommands:323] null com.liferay.portal.verify.VerifyException:...
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...
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. ...
The Theme is Broken With NPE thrown in the Log
Issue The theme is broken when accessing non-existent pages. NPE is also thrown in the log. Reproduction Steps: Access non-existent pages http://localhost:8080/web/guest/p/ Or create a commerce site named "xyz" and access...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v1_1_2.DynamicDataMappingUpgradeProcess
Issue During your upgrade process, you might encounter an error where the upgrade step for module com.liferay.dynamic.data.mapping.service fails due to a NullPointerException: Caused by:...
Blacklisting commerce modules causes stack-trace and Unsatisfied Components in DXP 7.4
Issue When blacklisting commerce modules, the following stack-trace is observed: 2023-03-28 19:06:19.423 ERROR [Framework Event Dispatcher: Equinox Container:...
"Detected reserved friendly URL" error during upgrade
Issue During Liferay upgrade I get the following error related to friendly URL: Class name: com.liferay.portal.verify.VerifyLayout   1 occurrences of the following errors: Detected reserved friendly URL "/apirila"...
Appending additional characters to an impersonated user's URL throws extensive log errors
Issue When appending the URL of an impersonated user with additional characters such as: ...
Database partitioning feature
Issue Is there a database partitioning feature available for Liferay DXP 7.3 or 7.4? Environment DXP 7.3 DXP 7.4 Resolution The database partitioning feature is in a kind of lab status for 7.4 to be used and tested...
Update database indexes
Issue You might face a requirement where you need to update your database indexes, such as during an upgrade process or a database migration process Environment Liferay DXP 7.0+ Resolution Up until Liferay DXP 7.3:...
Upgrade Failed due to the Error "No Group exists with the primary key xxxxxx"
Issue When doing database upgrade from 7.0 de-98 to 7.4, the upgrade failed with the following error: ERROR [main][ReleaseManagerImpl:183] Failed upgrade process for module com.liferay.dynamic.data.mapping.service...
Database upgrade fails due to missing Kaleo tables
Issue Would like to upgrade the Liferay environment to a later version The upgrade tool is logging the following error: ERROR [main][UpgradeStepRegistratorTracker:193] Failed upgrade process for module...
Random user can check another user's order with the correct channelId and accountId - Headless API
Issue  User can consume the API without applying any sort of content restriction or authorization /o/headless-commerce-delivery-order/v1.0/channels/${channelId}/accounts/${accountNumber}/placed-orders E.g.: If...
What are the *.map urls present in Glowroot monitoring
Issue There are many *.map urls present while monitoring Liferay using Glowroot or any other application monitoring tool. Environment Liferay DXP 7.0 + Resolution The .map files are for JavaScript and CSS (and now...
java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy cannot be found when blob column is used in service builder
Issue I use a blob column type in service builder. On deployment i get Caused by: java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy cannot be found Environment 7.4 Resolution Add the followings...
How to set the reindex batch size when disabling Index All Article Versions Enabled
Issue When we use the default value (true) of the System Settings -> Web Content -> Index All Article Versions Enabled option, we use the com.liferay.journal.model.JournalArticle=1000 property to limit the number of...
Auto generation of primary key using sequence type in MS SQL server
Issue Liferay provides, supports and has the implementation to generate a primary key with sequence In the following documentation liferay-service-builder_7_4_0.dtd under paragraph "@id-type" you can see the supported...
User's IP address is always registered as IP address of web server
Issue After configuring Liferay behind the frontend server (Apache or Nginx) and Load Balancers, when a user logs in, the value of the loginIp column in the User_ table is always the same local IP addresses of the Load...
Taglib throws an exception after redeploy the JAR file
Issue The taglib throws the freemarker.template.TemplateModelException error after redeploying the JAR file. Steps to reproduce: 1. Start the server 2. Navigate to Site Menu> Content & Data > Blogs 3. Create a...
How can I invoke Liferay Objects REST APIs from a backend OSGI module?
Issue We are implementing a backend OSGI module, where we have to call the Liferay Objects API. We have noticed that the only available API of this functionality is the REST API / GraphQL API explained here:...
Sync and AsyncExportImportLifecycleMessageListener unsatisfied references
Issue When you execute the command ds:unsatisfied in the Gogo Shell, you get this output: Declarative Service {id: 2457, name: com.liferay.exportimport.lifecycle.SyncExportImportLifecycleMessageListener,...
Error updating time zone definition - n.f.ical4j.model.TimeZoneUpdater
Issue The following logging error is observed on a regular basis: n.f.ical4j.model.TimeZoneUpdater - Error updating timezone definition java.net.ConnectException: Connection timed out (Connection timed out) How...
"No CommerceChannel exists with the key" when starting Liferay
Issue After upgrading from Portal 6.2 to DXP 7.4 Update 66, we see the following error in the log when starting Liferay: ERROR [http-nio-8080-exec-10][MiniCartTag:123] null...
Liferay is unable to configure MySQL because of to an authentication error
Issue The issue of being unable to load authentication occurs while configuring the MySQL database with Liferay: java.sql.SQLException: Unable to load authentication plugin "caching_sha2_password" Environment...
Can I use HashUtil, StringBundler, ProviderType, and AopService in DXP 7.4 after upgrading from 7.0
Issue Can these 4 classes (HashUtil, StringBundler, ProviderType, and AopService) still be used in DXP 7.4 after upgrading from DXP 7.0? Environment Liferay DXP 7.0, 7.4 Resolution AopService.java does not exist on DXP 7.0...
How to override Liferay logs configuration
Issue How to override Liferay logs default configuration. Environment Liferay DXP 7.4 Resolution Liferay logs default configuration is defined in WEB-INF/shielded-container-lib/portal-impl.jar inside the file...
OutOfMemoryError on startup when there are a lot of very large FragmentEntryLinks
Issue Liferay takes a very long time to startup, and throws the following Heap Space error: ERROR [Framework Event Dispatcher: Equinox Container: d97119a4-f960-4e1c-839b-88c78fbc6cc6][Framework:93] FrameworkEvent...
"Portlet must not be null" error during upgrade
Issue You might encounter an issue where you face an error during upgrade such as follows: 2023-03-29 08:09:14.891 ERROR [Framework Event Dispatcher: Equinox Container:...
The Chat Provider I want to use is not in the list of available Chat Providers
Issue I would like to enable Click To Chat in our Liferay instance. I have checked the documentation: Enabling Automated Live Chat Systems The Chat Provider I want is not in the supported list: Getting The Chat...
I want to be able to publish redirects through Remote Publishing or bulk export/import redirects.
Issue There are a large number of redirects that needs to be setup between environments, and I would like to be able to remote publish or bulk export/import redirects. Environment DXP 7.4 Resolution Currently, redirects...
Deploying a Portlet to Liferay 6.2 on Tomcat 8, causes listerner tags in Web.xml of portlet to change to Context-param tags
Issue Deploying a portlet developed for Liferay 6.2 on Tomcat 7, on a Liferay 6.2 instance running on Tomcat 8 causes the portlet's web.xml file to reflect the following changes:  The web.xml before it is deployed had...
Unable to find products with ID via Headless API
Issue Noticed that products have two ID fields, when you fetch them via headless API id productId id is visible on the UI and productId is not. When you try to get products via headless API using id, it does...
I want to disable Basic Auth for JSONWS
Issue I want to disable Basic Auth for JSONWS (JSON web services) in Liferay so that only OAuth is used for a specific jsonws method (i.e. expandovalue) Environment DXP 7.4 Resolution Basic Auth can be entirely disabled,...
Firewall blocks URI for reserved characters
Issue URI contains reserved characters such as "$" and certain firewall rules block these URI's. Environment DXP 7.4 Resolution Many URL schemes reserve certain characters for a special meaning. However, this is not...
Cache is not replicating properly across the nodes in the cluster environment
Issue From one of the nodes, when uploading a document or creating web content, it's available under the content section in the other node. But when creating a page, adding the uploaded docs and existing web content...
After soy modification, the components under Control Panel are not visible
Issue Post portal upgrades from DXP 7.0 to Liferay 7.2, under the control panel, pages like the site, user organization, etc are not visible and getting UI error as "XXXX is temporarily unavailable" Environment...
How can I disable the Document Library File Rank Service in DXP 7.1 and 7.2?
Issue I would like to disable the Document Library File Rank Service In Liferay Portal 6.2 and DXP 7.0, there used to be a property which is now removed: dl.file.rank.enabled=false Environment Liferay DXP 7.1 Liferay...
Not able to download the logs of more than 10000 lines
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue How to download more logs as the default "Download...
Unable to configure the portal-{WebID}.properties for each instances
Issue In Liferay, we have a feature of configuring different portal-{WebID}.properties (portal-ext.properties) for each instances. This configuration is not working in DXP 7.2 with fixpack dxp-2 and above....
Upgrade the CKeditor version
Issue Is there any option to update the Liferay's default CKeditor version? Environment Liferay DXP 7.0    Resolution For example, the default CKeditor version for the fix pack 90 is "4.11.3", and the version for the...
I cannot reinstall Marketplace applications in the App Manager
Issue I have issues with a Marketplace app, so I try to reinstall it I uninstall the App through the UI (from Control Panel > Apps > App Manager) I purchase the App again from the Marketplace (Apps > Store) Once it...
On 6.2 fix packs before portal-167-6210, Liferay shows a blank home page on MS IE11 and MS Edge
Issue When working in a Portal 6.2 EE environment with JBoss EAP 7.0, a web server and a patching level lower than portal-167-6210, the Liferay home page, when displayed on MS IE11 and MS Edge, will be blank ...
Fragment is not resolved after a clean server restart
Issue If I deploy a fragment, it works fine for the first time. But when I stop the server, delete osgi/state folder, and restart it, the fragment fails to resolve. It needs to be restarted in gogo shell to go to...
How can I change the email template of the Password Changed Notification?
Issue When the password is changed, users get a notification email. I would like to change the template of that email. Environment Liferay DXP 7.0+ Resolution Navigate to Control Panel > Configuration > Instance...
Deploying Liferay 6.2 SP 15 on Jboss EAP 6.2
Issue This article will outline a basic walkthrough on how-to deploy Liferay 6.2 SP 15 on Jboss EAP 6.2 specific to EAP version.          Environment Liferay 6.2 JBoss EAP 6.2  Resolution Prerequisite Download...