Search Results

All Results 6960
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to Enable Cookies Banner for Specific Sites
Issue Is it possible to enable cookies for a specific site? Environment Liferay DXP 7.4 Resolution The ability to configure cookies on a per-site basis in Liferay requires defining a virtual host. If a site does not have a virtual host specified, the cookie settings for that site will...
session.test.cookie.support portal property
Issue Can we disable session.test.cookie.support in the portal-ext.properties file as it enables the user authentication process when an iframe is used? Environment Liferay DXP  Resolution This property is related to the cookie COOKIE_SUPPORT (How Cookies are Used in Liferay). Setting it...
Two locations to set up Password Reset Notification Templates
Issue There are 2 places in where the 'Password Reset Notification' template is present. One is in the Sign-In widget (Configuration > Set-up) and the other is in Control Panel > Instance Settings > Email. The Sign-In widget gets triggered when we click on the 'Forgot Password' link. How...
There was an error when loading the "text" field
Issue 'There was an error when loading the "text" field' is showing if user clicks on any portlet inside System Settings and Instance Settings. Environment 2024.Q1 2024.Q2 Resolution This behavior is only observed in 'Brave Browser', though it's working fine in other browsers like Chrome...
I am getting "Someone may be trying to circumvent the permission checker" while accessing Password Policies
Issue When I try to access Control Panel → Password Policies, I get "Password Policies is temporarily unavailable." I get the following error message: 2024-07-30 13:15:07.411 ERROR [http-nio-8080-exec-9][PortletRequestDispatcherImpl:295] Unable to dispatch request:...
Upgrading to a Quarterly Release fails due to Elasticsearch exceptions in the logs
Issue When upgrading to a Quarterly Release, coming from an old DXP version, the upgrade fails because of some Elasticsearch errors that can be seen in the logs: ERROR [main][ROOT:47] bundle com.liferay.portal.search.elasticsearch7.impl:6.0.111...
No minification of clay files impacting page load response times
Issue We see more number of Clay UI related network calls in the browser network tab in clean instance of Liferay and they are not getting cached also. It has JS and CSS files which are not minified into fewer combo files. Environment 2023.q4.0 Resolution This is the expected behavior...
Which table saves Email User data into the database?
Issue Which database table stores the email user configuration data? Environment Liferay DXP 7.4  Resolution The PortalPreferenceValue table stores email configuration data (Instance settings->Email->Email settings)., knowledgeArticleType: reference, legacy: true, name: Which table saves...
"Unable to persist buffered increment value" Error in Liferay Logs
Issue I am seeing the following errors thrown regularly in my Liferay console logs. How can I resolve this? ERROR [BufferedIncrement-default-2][BufferedIncrementRunnable:54] Unable to persist buffered increment value:...
How to resolve "Attempting to upgrade table UserGroupGroupRole by adding a temporary column" DB2 database upgrade errors
Issue When trying to upgrade Liferay DXP from a 7.4 U release to 2024.q1.3 using a DB2 11.5 database, we encountered the following errors relating to the UserGroupGroupRole table: INFO  [ServerService Thread Pool -- 78][UpgradeProcess:119] Upgrading...
Unable to login without the sameSiteCookies="none"
Issue Without the sameSiteCookies="none" setting up, some vital cookies (e.g., JSESSIONID) are not created at all, preventing portal access. Environment Liferay DXP  Resolution This article: https://web.dev/samesite-cookies-explained/ explains the origin of the SameSite cookie and how it...
How to disable error messages?
Issue How to disable 'Your Request failed to complete' error messages? Environment Liferay DXP 7.4 Resolution Please note: The following information involves customizations or implementation ideas that are beyond the scope of Liferay Support.  Please exercise appropriate discretion in...
How to create schedulers in DXP 7.4 and above?
Issue We've been using the below classes in our project to create schedulers:  com.liferay.portal.kernel.scheduler.StorageType   com.liferay.portal.kernel.scheduler.StorageTypeAware  After upgrading to a Quarterly release, it throws an error that it cannot find a symbol as the classes...
Batch Error encountered during upgrade using SQL Server 2019
Issue When upgrading from Liferay 7.2 to Liferay 7.4, the following error may be encountered during the upgrade process when using SQL Server 2019 with MSSQL JDBC Jar Version 12.X ERROR [main][DBUpgrader:79] null org.springframework.orm.hibernate5.HibernateJdbcException: JDBC exception...
sun.awt.Win32GraphicsEnvironment ClassCastException in the logs
Issue We started to see the below exception in our logs: Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: sun.java2d.HeadlessGraphicsEnvironment cannot be cast to sun.awt.Win32GraphicsEnvironment at sun.awt.windows.WToolkit.lambda$displayChanged$2(WToolkit.java:843)...
Table already exists upgrade error
Issue An upgrade is failing with a java.sql.SQLSyntaxErrorException: Table [table name] already exists error Environment Quarterly Releases DXP 7.4 DXP 7.3 DXP 7.2 Resolution NOTE: Be sure to take a backup of your database prior to making any changes. Always test the changes in a lower...
Why are Tomcat's URLRewriteFilter files missing from 7.4?
Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any implementation of these principles will be at your team's discretion. Issue Prior to 7.4, you...
Is there a recommended Quarterly Release version to upgrade to?
Issue We want to update our project to a Quarterly Release version. Is there a recommended version? For stability, which Quarterly Release version is currently recommended? Environment Liferay DXP Quarterly Releases Resolution Quarterly Releases are designed to prioritize stability,...
ConfigurationBeanDeclaration related errors
Issue While upgrading from 7.3 to 2024.Q1, we receive errors regarding ConfigurationBeanDeclaration. Environment The information in this article is relevant if you have any implementations with ConfigurationBeanDeclaration and you are upgrading to a Quarterly Release. Resolution The...
Feature flag LPS-170809/163118/166126 is not available for company 0
Issue After trying to upgrade to DXP 2023.Q4.4, the database upgrade script is failing with the following errors in the logs: Feature flag LPS-170809 is not available for company 0 Feature flag LPS-163118 is not available for company 0 Feature flag LPS-166126 is not available for company...
Issue in Workflow node ASSIGNMENTS option
Issue We have a portal with multiple custom roles based on business rules and when trying to select roles in the Workflow node ASSIGNMENTS option the portal crashes. The problem lies in the endpoint that lists the registered roles. Analyzing the request in the developer tool, it is...
java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 1
Issue While upgrading to Liferay DXP 7.4, following errors were observed in the logs: ERROR [http-nio-8080-exec-21][OpenIdConnectSessionValidationFilter:53] java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 1 java.lang.StringIndexOutOfBoundsException: begin 0, end -1,...
View only permission for custom Field does not include frontend restrictions
Issue Facing issues while using 'View' only permissions for 'Custom Field', able to see and even edit the details even after View only permission. Steps to reproduce: 1. Navigate to Control Panel > Roles, and create a custom regular role, with the permissions attached in the snapshot. 2....
Database connection issue: Failed to validate connection
Issue We are getting some slowness when browsing through DXP and following message is showed in log: HikariPool-1 - WARN … Failed to validate connection …  Possibly consider using a shorter maxLifetime value. Environment For DXP 7.3, HikariCP is configured as database connection pool....
Unsatisfied Reference - Unresolved Declarative Service
Issue When upgrading to the Liferay DXP 7.4, navigate to the Control Panel > System > Gogo Shell and execute the ds:unsatisfied command, then getting the Unsatisfied Reference - Unresolved Declarative Service and below error: Bundle {id: 5125, name:...
Recommended locale settings for the database
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue Is there a recommended locale setting for the database used by Liferay?...
Minimum required IAM policies for S3
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue What are the minimum IAM policy permissions required to access S3?...
Need to get values from System Configuration
NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations. Issue How to fetch the elasticServerHosts values using ConfigurationProviderUtil...
'Your request failed to complete' while saving the values of Mail settings under Instance settings
Issue Issue while saving the values entered for mail settings under instance settings wherein the values do not get saved and the error says: 'Your request failed to complete'.Steps to reproduce: 1. Start the clean instance of Liferay DXP 2024.Q1.7 2. Navigate to Instance...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v4_0_0.DDMStructureUpgradeProcess
Issue You might encounter an issue when upgrading from 7.2 to 7.4 where the upgrade step for module com.liferay.dynamic.data.mapping.service fails due to a NoSuchGroupException: 2024-05-22 13:18:39.512 INFO [main][UpgradeProcess:137] Failed upgrade process...
Info about new parameters for SamlSpIdpConnectionLocalService.addSaml and updateSaml
Issue We are upgrading our code from 7.3 to 2024Q1.7, we found a new parameter for the two following methods: 1. _samlSpIdpConnectionLocalService.addSamlSpIdpConnection() 2. _samlSpIdpConnectionLocalService.updateSamlSpIdpConnection() The new parameters are boolean...
Idle Database connections in Liferay
Issue Why number of idle connections are increasing more than my connection pool size? Does Liferay clears idle connections? If not then how to clear these idle connections from Liferay? What is the recommendation from Liferay to clear these idle connections? Environment Liferay DXP 7.4...
Audit portlet only available for Administrators
Issue After upgrading to U78+ you might encounter a behavior where the Audit portlet is only available for Administrators, whereas before U78 you could create a regular role with access to it The reason behind this change is that the behavior where any regular Role could access the Audit...
Liferay Marketplace cannot be accessed via Control Panel
Issue When accessing Liferay Marketplace via Control Panel, the page does not load anything. Environment Liferay DXP 7.3. Resolution Check that your environment can access the URL https://web.liferay.com/marketplace, content:...
Text Verification field is not showing validator after clicking on Forgot Password
Issue When clicking on 'Forgot Password', Text Verification field does not showing any kind of validator (*). Steps to reproduce: 1. Navigate to localhost:8080/c/portal/login 2. Click on Forgot Password button. 3. Now, attempt to proceed without filling out the Text Verification field,...
AWS Mail configuration in Liferay with OAuth 2.0
Issue Need to configure AWS email service to Liferay with the use of OAuth 2.0 authorization. Configure SMTP with client ID/Secret instead of the use of email address and password i.e. Basic Authentication. Environment DXP 2024.Q1 Resolution Amazon Web Services (AWS) provides various...
Unminified CSS
Issue Steps to reproduce: 1. Take Liferay DXP 7.2  fix-pack-20 2. Add the below properties in portal-ext.properties: minifier.enabled=true theme.css.fast.load=true javascript.fast.load=true 3. Inspect the page and navigate to the network 4. Reload the page and click on main.css 5. Open...
Custom 'renderUrl' is not working for Liferay DXP 2023.Q4.4
Issue Start the server. Navigate to Product Menu > Site Builder > Pages, and create two pages with the names 'Add Blog' and 'Blog Page' with URLs 'add-blog' and 'blog-page'. (Could also be configure the Page name and URL of the choice as well) Navigate to Product Menu > Design >...
API to update custom field settings
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue Is there an API to update custom field settings? Environment 7.4+...
Migrate delta data after the Upgrade Process
Issue Our website is running and in parallel, we are performing the upgrade process with the cloned database schema. Now, we want to migrate delta data (the changed/updated data) for out-of-the-box Liferay modules, especially user data that got updated on the production during the...
TemplateException: Unsupported template manager ftl
Issue Our environment is not stable, pages don't load properly and we are not even able to log-in. In the log file, these errors are shown: 2024-04-30 16:52:27.467 ERROR [com.liferay.portal.osgi.web.wab.extender.internal.WabFactory-BundleTrackerOpener][LayoutTemplateLocalServiceImpl:524]...
Company ID assigned to a new virtual instance is too high
Issue After creating a new virtual instance, the company ID assigned to it has 14 digits. Environment Quarterly Release: 2024.Q1 Resolution The mechanism to obtain a company ID for a new virtual instance has changed from following the value stored in the corresponding record of the table...
Upgrade fails for class 'RadioDDMFormFieldTypeReportProcessor' resulting in NullPointerException
Issue The upgrade is failing from Liferay DXP 7.1 FixPack 21 to Liferay-dxp-2023.q4.4 resulting in the below error: Caused by: java.lang.NullPointerException at com.liferay.dynamic.data.mapping.report.DDMFormFieldTypeReportProcessor.updateData(DDMFormFieldTypeReportProcessor.java:46)...
How to Have the Deploy Folder in the initcontainer Persist to be Available to the Container
Issue Is there a way for the deploy folder created in the initcontainer to persist and be available to the container? Environment DXP 7.4 Resolution A potential solution would be to use a shared volume between the containers. You can use volumes in init containers in Kubernetes. Volumes...
Not able to configure logging
Issue Our previous configurations for logging are no longer working after upgrading to Liferay's Quarterly Releases. This was previously working in DXP 7.3. When we redeploy a module, the module completely stops functioning. Steps to reproduce: Start Liferay Bundle 2024.Q1.1 Deploy...
Custom portlets are not logging correctly with SLF4J
Issue Custom plugins (portlets and hooks) are not properly logging with SLF4J implemented, with no log4j2 configurations changed from previous Liferay versions to 7.4 or Quarterly Release. Environment DXP 7.4 Quarterly Release lower than 2024.Q1.7 Resolution NOTE: The following...
Does the Timezone Needs to be Converted Manually When Fetching Database Entries Programmatically?
Issue We changed the default timezone by doing the following: 1. Instance settings > localization > time zone > change to eastern daylight time 2. User Account settings > preferences > display settings > change to eastern daylight time But now we have a question regarding custom code in...
Getting 'unsatisfied references' error after JAR deployment
Issue When creating a service builder project and after deploying the Jars files, it shows the unsatisfied references'' in the GOGO shell. Steps to reproduce: Start the server. Deploy the JAR file. Navigate to the Control Panel > Configuration > Gogo shell. Enter 'lb', and can see that...
Cookie consent persistence: how to check the history of responses?
Issue We have enabled Liferay's cookie consent banner for our site. Could you please guide us on where to locate the log of cookies accepted by our site visitors? Environment DXP 7.4+ Quarterly Release 2023.Q4 Resolution Cookie configuration was implemented in the following ticket:...
Compatibility of Liferay with Spring 6.1
Issue When is Liferay going to be compatible with Spring 6.1? Environment Liferay DXP 2023.Q4.0 Resolution Spring 6.1.x also requires Jakarta EE 9+ API, which is not currently supported by DXP. The initial release of Java 21 this year (at the time of writing this article) will still be...
How to resolve the "Require strangers to verify their email address?" Instance Setting not saving
Issue After initially setting up a clean Liferay bundle (using my own administrator email domain), I am unable to save the "Require strangers to verify their email address?" Instance Setting, as it fails to save with a generic Error:Your request failed to complete popup Environment...
CPU activity is high with large number of open sessions
Issue High CPU activity can have multiple causes.  Reviewing heap dumps may show a large number of objects org.apache.catalina.session.StandardSession. Environment Quarterly Release 2023.Q3, 2023.Q4, 2024.Q1 Resolution A high number of open sessions could point to a misconfiguration of...
How to configure asynchronous logging in Liferay
Issue How can I configure Log4j to use asynchronous logging in Liferay? Environment DXP 7.2 DXP 7.3 DXP 7.4 Quarterly Releases Resolution DXP 7.2 and DXP 7.3 NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay...
ORA-00600 error when accessing to Roles Administration
Issue When accessing to Roles Administration, the following error message appears: ERROR [https-jsse-nio-8443-exec-41][PortletServlet:109] Unable to process portlet com_liferay_roles_admin_web_portlet_RolesAdminPortlet: org.apache.jasper.JasperException:...
How to run Liferay Tomcat as a Windows Service?
Issue We are currently running the tomcat from the command line, but I would like to know how to run it as a Windows service. Environment DXP 7.3+ Resolution Create a clean Tomcat Apache service to make sure it installs correctly 1. Create a sample directory like...
Configuring CXF Endpoints and Soap Extenders programmatically from 2024.q1
Issue It is created a customization SOAP extension module following the next documentation to create new endpoint. The component has inside in folder resources → configuration next files:...
"Column count doesn't match value count at row 2" error occurs while upgrading to 2024.q1.1 using MariaDB as database
Issue Upgrading Liferay DXP 7.3 to Quarterly 2024.q1.1 shows the error "Column count doesn't match value count at row 2" in the log. Environment 2024.q1 MariaDB 10.4 Resolution A possible cause is that the rewriteBatchedStatements=true parameter is being used in the connection url for...
Can Liferay run using a JRE instead of a JDK?
Issue I am using a Java JRE and encountering errors such as: A fatal error has been detected by the Java Runtime Environment Environment Liferay DXP Liferay Portal Resolution Liferay DXP/Portal requires a TCK-certified Java JDK.  See the Liferay DXP compatibility matrix to choose a JDK...
Captcha text null when using a captcha portlet
Issue CAPTCHA Verification is being failed. This only occurs when using a custom captcha portlet, captcha components from the portal (for example, the "forgot password" page) work properly. Environment Liferay DXP 7.4 Resolution There is a serveImage method for ResourceRequest (portlet)...
Some database tables are created per company
Issue When upgrading from 7.2 to 7.4, it seems that there are tables that appear multiple times with the only difference being the corresponding company ID. e.g., AccountEntry_x_COMPANY_ID Address_x_COMPANY_ID CommerceOrder_x_COMPANY_ID CommercePricingClass_x_COMPANY_ID...

Showing 7,201 to 7,260 of 8,721 entries.