Capability

Security

Liferay DXP is built with security in mind. A variety of standards based authentication methods and integrations can be used to ensure secure access to a site and its resources. Robust role-based access control with permissions gives you fine grained control over what authenticated and unauthenticated users can access, share, or edit. Liferay DXP’s web services also have a multi-layered and configurable approach to security and authorization.

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...