Capability

Commerce

Liferay DXP includes robust e-commerce capabilities. Liferay’s commerce capabilities integrate content management, digital asset management, and comprehensive commerce functionalities, empowering you to deliver diverse online shopping experiences.

Use Liferay’s Commerce features to set up a storefront, add and manage products and catalogs, configure multiple channels for sales, configure multiple forms of payment, and much more.

Feature
Deployment Approach
The requested resource could not be found errors
Issue The user dashboard and profile page are not accessible on the JBoss server Steps to reproduce: 1) Set up a clean instance of Liferay 7.4 on JBoss EAP 7.4 2) login with admin (test user) 3) Navigate to the...
After upgrading 7.4, a new Tunnel Authentication entry is created
Issue After upgrading to 7.4 from previous versions or Updates, there is a new /api/liferay/do entry in Tunnel Authentication configuration (Control Panel > System Settings > API authentication > Tunnel...
tcp.xml file path not mapped properly in clustering setup
Issue The tcp.xml file path provided inside portal-ext.properties is unable to map it properly. The file is placed at ${Liferay_Home}/tomcat/webapps/ROOT/WEB-INF/classes/tcp.xml and the path provided inside...
"Someone may be trying to circumvent the permission checker" errors shown in the logs
Issue The following message is identified in the logs: May 10 11:28:27.159 build-3348 liferay[liferay-64c4b97d99-nvp2x] [dxp] ERROR [http-nio2-8080-exec-18][IncludeTag:128] Current URL...
Multiple Nullpointer warnings while upgrading in DDMFieldUpgradeProcess
Issue Many warnings appears while upgrading Liferay DXP 7.4 from previous versions, affecting the DDMFieldUpgradeProcess (v4_1_0): INFO [main][UpgradeProcess:118] Upgrading...
Custom Service builder cannot satisfy some dependencies when Liferay-Require-SchemaVersion is not present or incorrect
Issue Dependency issues when deploying a custom Service Builder module, because Liferay-Require-SchemaVersion is missing or not correct. Some issues are found after running ds:unsatisfied in the GoGo...
Error updating DXP 7.4: Major upgrade finished with result failure
Issue We are updating DXP 7.4 from Update-X to Update-Y following this article https://help.liferay.com/hc/es/articles/4415761553677 Also we followed this article too:...
Error: Could not find or load main class when upgrading Liferay version using Upgrade Tool
Issue When attempting to upgrade the Liferay version using the Upgrade Tool users are met with the following error message: "Error: Could not find or load main class [class name]", and the upgrade fails to...
Is JDK 17 supported by Liferay?
Issue We would like to use JDK 17 but we see that it is not listed in the Compatibility Matrix Environment Liferay DXP 7.0+ Resolution JDK 17 is not supported as of yet. However, it is already being considered The same...
Log4J 2 is required
Issue When system starts, following error message is showed in the log: ERROR [Start Level: Equinox Container: 6841ecc3-6984-4344-8287-86848c86a132][Log4jConfigUtil:53] Log4J 2 <Configuration> is required...
SOAP service list API is exposed to non-authorized guest users
Issue SOAP service list API found at http://[host]:[port]/api/axis is exposed to external guest users even with it configured to display locally only. The following property is set in portal-ext.properties:...
The custom scheduler is not working after upgrading from 7.4 U62 to U90
Issue We have written a scheduler which works perfectly in 7.4 U62, but when we updated our bundle to 7.4 U90, it is not working.    Environment Liferay DXP 7.4   Resolution Due to the changes by LPS-176754, please adapt...
StackOverflowError related to locales during upgrade
Issue You might encounter an issue where you receive a StackOverflowError during your upgrade process, such as this: ERROR [main][ROOT:56] bundle com.liferay.portal.verify.extender:7.0.24...
"HTTP/1.1 413 Request Entity Too Large" Error encountered when reindexing
Issue We encountered the error below while reindexing:  Error reindexing all com.liferay.journal.model.JournalArticle for company: 10157 com.liferay.portal.kernel.log.LogSanitizerException: java.lang.RuntimeException:...
Unable to see upload option under 'Talend' tab
Issue The user is not able to see the upload option for the file in the 'Talend tab' of the job scheduler. Steps to reproduce: Start DXP server Navigate to Control Panel > Job Scheduler Click on the add button to...
Error updating DXP 7.4: Upgrade process failed or upgrade dependencies are not resolved
Issue We are updating DXP 7.4 from Update-X to Update-Y following this article https://help.liferay.com/hc/es/articles/4415761553677 But when system boots with the Update-Y installed, following message is showed in...
Manually Installing Liferay Connector to SAML 2.0
Issue We need to manually install and/or update the Liferay Connector to SAML 2.0. This is primarily done for security reasons, such as a Liferay bundle being firewalled off the internet.  Environment DXP 7.3...
Firewall is blocking special characters
Issue Particular variables or special characters, like "@" and "$," are present in the URLs that the security layer blocks. Some security rules do not allow special characters like "@" and "$" in the URLs used when...
OOB Category Filter widget configuration failed
Issue When updating the order of vocabularies in the Category Filter widget configurations, it fails with an error: ERROR [http-nio-8080-exec-10][render_portlet_jsp:131] null java.lang.NumberFormatException: Unable to...
SQLException: Index column size too large. The maximum column size is 767 bytes.
Issue I used a copy of Production database (MySQL) to test upgrading from Liferay 7.4 U62 to U90. The upgrade was failed with the following error: INFO [main][UpgradeProcess:118] Upgrading...
AnalyticsEventModelImpl error during upgrade via Liferay Upgrade Planner
Issue While upgrading using Liferay Upgrade Planner, the AnalyticsEventModelImpl.java class encounter some errors The following errors are readable:...
Portal stuck on startup at 'Starting initial bundles'
Issue When trying to start Liferay, the starting process gets stuck at : 'Starting initial bundles'.  Environment Liferay DXP 7.2 with a database connected Resolution Restarting the database server and the portal...
Error ORA-01461 and Oracle ojdbc11.jar version
Issue During upgrade to DXP 7.4 using an Oracle database, some errors happen with this pattern: ... ORA-01461: can bind a LONG value only for insert into a LONG column_ ... Environment Liferay DXP 7.4 ojdbc11.jar...
Users are getting different behaviors when accessing different URLs as their virtual hosts
Issue The environment is set up so that 2 different domains are acting as their virtual hosts When a user accesses one domain and logs in, and then switches to the other domain name, they find that user sessions are...
Interval is either equal or less than 0 error during upgrade
Issue You might encounter the following error during upgrade attempt to Liferay DXP 7.4 U69+: ERROR [main][ROOT:47] bundle com.liferay.portal.scheduler:8.0.32...
How to reduce disk space used by Document previews
Issue We have noticed that half of the backup size corresponds to Document previews from the Document Library. Is there a way to clean up these files and reduce the backup size? Environment Liferay DXP 7.1 Liferay...
Admin will not be allowed if they doesn't contain the domain @liferay.com
Issue Users are unable to use any emails unless they have @liferay.com and are observing the "java.lang.IllegalStateException: Unable to get default company ID errors": SEVERE [http-nio-8080-exec-4]...
Strange sudden shutdown of the portal running on Apache Tomcat
Issue Sudden shutdown with the following log snippet: INFO  [http-nio-8080-exec-325][SidemenuController:88] Enter in sidemenu as connected=false and isFirstConnection=false screenname=XXXXX flag=false...
"No JSON web service action with path and method null for null" error when deploying service builder API
Issue Service builder API appears to register but isn't accessible in some environments since it cannot be found. Logs show that the service successfully deploys but not able to find the service name in /api/jsonws page....
Change the trace level for code_jsp
Issue How to change the trace level for the following 'WARN', code-404: WARN  [default task-2629][code_jsp:154] {code="404", msg="Not Found", uri=/code.png Environment Liferay DXP 7.3 Resolution The user can...
How to change ReleaseInfo panel in server administration, resources tab
Issue We want to change the Release Info panel, what is shown inside the Server Administration > Resources menu Environment Any DXP 7.x Liferay version Resolution Since it would require changing the...
ThemeServicePreAction Null Pointer Exception at startup
Issue We always experience the following Null Pointer Exception at Liferay startup: Caused by: java.lang.NullPointerException     at...
Where are the Fix Pack Releases for Liferay DXP 7.4
Issue We are not seeing any Fix Pack releases for 7.4 recently. Can we expect FPs for 7.4 or only Service Pack? Environment DXP 7.4 Resolution Starting with Liferay DXP 7.3 SP3 and above, we switched to an Update...
Redirect is not going to expected site page after configuring friendly URL
Issue After configuring a friendly URL for my instance Home Page, the redirect is not going to the expected site page. Environment DXP 7.2 DXP 7.3 DXP 7.4 Resolution In order to achieve the expected page redirect the...
Which folders can be cleared in the Tomcat bundle while restarting Liferay?
Issue which folders can be cleared in the Tomcat bundle before restarting Liferay? Environment Liferay DXP 7.0 - 7.4 Resolution The following folders can be cleared: osgi/state {Liferay_home}/work {tomcat_home}/temp...
java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size) when starting dxp using JDK 11.0.20
Issue Start DXP against JDK 11.0.20, the following error is reported in the log: ERROR [main][ModuleFrameworkImpl:417] null org.osgi.framework.BundleException: Error occurred installing a bundle. at...
Should LDAP verify that user images exist in the Document Library?
Issue Some user images are missing from my Document Library, but they still have references in the IMAGE table in the database. As a result, LDAP doesn't re-import the user images during an LDAP import. Should...
OAuth Error when trying to log in to Marketplace from Liferay DXP
Issue Trying to log in to Marketplace from Liferay DXP (Control Panel > Marketplace > Purchased or Store) Getting the following OAuth Exception: ERROR [http-nio-8080-exec-6][PortletServlet:118] Unable to process...
Headless API returns 20 entries on certain GET methods
Issue Headless API only displays 20 entries on certain GET methods Environment Liferay DXP 7.4 Resolution The resulting 20 records is because of the default pageSize value. If you would like to adjust the number of records...
Sometimes not getting full captcha text in the image
Issue Full captcha is not visible sometimes, which degrades the user experience as the user needs to refresh the captcha image trying to get a full image in order to pass the captcha test. Environment Liferay DXP...
I cannot update the Payment status of an Order through PATCH request
Issue Order Payment status does not change after sending a PATCH request, for example: { "paymentStatus": 1 } Environment Liferay DXP 7.4 Resolution The observed behavior is a known bug which is addressed...
Azure Active Directory authentication between DXP and underlying database
Issue I have a question regarding regarding the SQL AAD Integrated authentication. Is it supported (or not) for ManagedIdentity?  Connect using Azure Active Directory authentication - JDBC Driver for SQL Server | Microsoft...
The Look and Feel Configuration is not accessible for Remote Apps
Issue After creating and deploying a Remote App onto a Widget Page, the Look and Feel configuration for the deployed app is not accessible (as seen in the following image): Environment Liferay DXP 7.4 Resolution Upgrade...
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:...
ERROR: aggregate functions are not allowed in UPDATE Position: 54 when upgrading a PostgreSQL database
Issue During the upgrade progress to 7.4 a fatal error occurs in process com.liferay.portal.upgrade.v7_4_x.UpgradeCompanyId: INFO  [main][UpgradeProcess:145] Failed upgrade process...
Cannot install Liferay Push on DXP 7.0
Issue Trying to install Liferay Push from Apps > Store Getting the error that it failed to complete and in the logs you get: Caused by: com.liferay.portal.lpkg.deployer.LPKGVerifyException: LPKG validation failed...
Non-Liferay Users Cannot Use Their Domain in Setup Wizard
Issue We just ran a fresh install of Liferay and are seeing the following error in the logs: WARN [http-nio-8080-exec-5][PortalImpl:6760] null java.lang.IllegalStateException: Unable to get default company ID ...
Can we set different instance configurations on sites?
Issue Can we have different instance level settings like One-Time-Password or Multi-Factor Authentication configurations applied on different sites in the same virtual instance? Environment DXP 7.3+ Resolution The...
Is API versioning supported in Liferay headless Framework
Issue Is API versioning supported in Liferay headless Framework? Environment Liferay DXP 7.3 Resolution API versioning is supported in Liferay Headless Framework. As an example, there're two versions of the...
Cache Override
Issue This article describes how to override the cache in 7.0 taking into account two different aspects: EhCache settings and Replication settings. The first one implies creating a new module, while the second is...
How to persist a Secret Environment Variable when deleting and redeploying a service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue For business reasons, we have a custom service that we...
How do I remove the Speedwell theme from Liferay DXP 7.3?
This article is intentionally set as Internal Only Issue When not using Liferay Commerce in a DXP 7.3 environment, the Speedwell theme may remain as the default fall back theme when deploying a custom...
Enable BundleStartStopLogger debug log traces
Issue How to enable BundleStartStopLogger debug log traces to see module lifecycle events during startup. Environment Liferay DXP 7.0+ Resolution Stop the server. If it doesn't exist create a folder named log4j...
Change to portal-ext.properties files not being reflected in node
Issue After making changes to different properties in the portal-ext.properties file, these changes are not being reflected in the environment when Liferay is being started up. Environment Liferay DXP 7.0 Resolution...
Disable Pragma: no-cache header
Issue Liferay adding a "Pragma: no-cache" to the response header, and this is preventing the app server, or the client from caching the data. Environment Liferay DXP 7.2 Resolution Set the browser.cache.disabled...
Why is .bc.googleusercontent shown when doing nslookup on Liferay Load Balancer IP?
Issue When running a nslookup command against the Load Balancer IP that can be seen at Network > Endpoints > Ingress endpoints, .bc.googleusercontent.com will be appended to the Load Balancer's IP: $ nslookup...
Is It Possible To Change Deployed War Location?
Issue The default location of the deployed war is ${liferay.home}/osgi/war folder. Is it possible to change the location?   Environment Liferay DXP 7.0+   Resolution You can use the following property to change the...
Unexpected URLs in Page Analytics
Issue The URL pattern of different pages in the page analytics is changed i.e., starting with 'https:///' such as 'https:///login'. Environment Liferay 7.2 Resolution This is certainly an invalid URL because, even...
After setting up Liferay DXP on a fresh application server via WAR file and dependencies, "java.lang.NullPointerException: entry" thrown on startup
Issue I set up Liferay DXP on a fresh application server using the WAR file, dependencies and OSGi dependencies according to the Installing Liferay DXP on Tomcat guide, and the following errors are thrown on startup:...
How to manually remove / delete a portlet
Issue How can I completely delete a portlet so that I can redeploy an older version? When I uninstall a portlet from the App Manager, it's only Blacklisted and not uninstalled. How do I remove a custom module in...