Search Results

All Results 6986
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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 non-existent pages http://localhost:8080/group/xyz/p/ Result:The...
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: java.lang.NullPointerException   at...
"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" Update the friendly URL for the layout with PLID 3459437. Apirila in the...
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: setting the database.indexes.update.on.startup=true property in the...
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 articles reindexed at a time However, if we set this option to false,...
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 TypeScript too) files that have been minified. They are called source...
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 com.liferay.portal.kernel.upgrade.UpgradeException:...
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 implementations for DB2, Oracle, PostgreSQL, and SAP DB We would like...
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 the user passes accountID = 1 as a parameter while they authenticated using...
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 com.liferay.portal.workflow.kaleo.service...
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 to your portal-ext.properties:...
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, unsatisfied references: {name: _destination, target:...
"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 com.liferay.commerce.product.exception.NoSuchChannelException: No CommerceChannel exists with the key...
User's IP address registered as IP address of web server
Issue After configuring Liferay in a frontend server (e.g., Apache, Nginx) and Load Balancers, when a user logs in, the value of the loginIp column in the User_ table is registered as the same local IP addresses of the Load Balancers instead of the user's own address. The log files of...
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 Liferay DXP 7.4 Resolution To overcome this issue, run the MySQL command below:...
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:...
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 but exists and is available on Liferay DXP 7.4. Refer to:...
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 portal-log4j.xml. The fastest way to override it is: Extract portal-log4j.xml...
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 can this Liferay server-side request be disabled? Environment DXP 7.0+...
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 new Blog, navigate to Site Menu > Design > Templates > Widget Templates 4....

Showing 4,001 to 4,020 of 8,770 entries.