Search Results

All Results 7011
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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,...
"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...
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...
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...
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...
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...
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...
User clicks not tracked correctly
Issue The number of hits goes up by 2 Steps to reproduce: 1) Add "live.users.enabled=true" to portal-ext.properties and start portal 2) Navigate to Control Panel > Monitoring 3) View the number of hits 4) Refresh...
Web content with special characters in their title, their friendly URL is populated with C% code
Issue The Friendly URL presented when editing a Web Content is displayed with C% code in the special characters, making it difficult to forward that URL. Environment Liferay DXP 7.4 (equal to or below Update 40)...
Is there any Instance Level Configuration for Google Captcha?
Issue Is there any instance level configuration for Google Captcha   Environment Liferay DXP 7.4   Resolution The Google Captcha can only be enabled via System Settings > Security Tools > CAPTCHA, which is a server level...
POST request with multipart/form-data downloads the file
Issue A POST request with multipart/form-data and appropriately sized attached file downloads the file to the temporary disk folder Antivirus agent may detect malicious file(s) in the folder after a similar...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v5_2_2.DLFileEntryDDMFormInstanceRecordUpgradeProcess
Issue During the upgrade process from DXP 7.3 to DXP 7.4, a NullPointerException is being reported with the following stack trace: 2023-04-04 17:03:17.835 INFO [main][UpgradeProcess:145] Failed upgrade process...
How to rotate Liferay logs per day
Issue Liferay logs can be configured to rotate each day. Environment Liferay DXP 7.4 Resolution Liferay logs default configuration is defined to make logs rotate each day. If you have applied a different...
Navigating to URL after setting Redirect Pattern is giving 404 error
Issue When Redirect Pattern is defined such as below to redirect pages, navigating to the URL gives 404 error instead of redirecting properly. Environment DXP 7.4 u65 and lower Resolution By default, patterns defined...
Saving Site Settings - Languages takes a long time
Issue The issue can be reproduced with the following steps: 1. Go to configuration then select site setting. 2. Select Define a custom default language and additional available languages for this site. 3. Click on save....
Fragment's Edit/Update Date Isn't Getting Updated
Issue When making edits to fragments and publishing those fragments, the "Modified time" of the fragment is not updated accordingly. Steps to Reproduce: Navigate to Design > Fragments Add a Fragment Collection and create...
How to stop generating the redundant logs in {liferay_home}
Issue Liferay logs are generated in multiple locations: Users want to stop generating redundant logs in multiple locations. {liferay_home}/tomcat/logs/catalina.out {liferay_home}/logs/liferay.xyz.log...
Ip and Port for integrating Libreoffice
Issue What IP and Port needs to be added for integrating Libreoffice with Liferay? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution In case the application is installed on the same server, IP...
After changing the default language of a site I can no longer create objects
Issue Changing the default language on a site leads to an error when creating an object. The UI shows this error: Unexpected token '<',"<!DOCTYPE "... is not valid JSON Environment Liferay DXP 7.4 Resolution This...
Widget Configuration is not visible with custom theme
Issue Steps to Reproduce: Generate a theme with Liferay theme generator. Start the bundle and log in as admin. Deploy the created theme. Add a widget page and drop an out-of-the-box widget on it. Apply the theme to the...
Headless API returns BAD REQUEST when a friendlyURL contains a forward slash
Issue The Headless API returns "HTTP Status 400 - Bad Request" when a / is included in a friendly URL The error can be thrown using these steps: - Login to Liferay as Admin - Go to the headless API page:...
What is the default Database Connection Timeout?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue I would like to know the default database connection timeout and...
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...
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...
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...
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...
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...
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. ...
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:...
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: ...
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...
"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 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:...
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...
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...
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 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:...
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...
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...
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...
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,...
"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:...
java.sql.BatchUpdateException: Duplicate entry errors
Issue Duplicate entry error when switching from Hypersonic to MySQL using the setup wizard Steps to reproduce 1) Start portal with hypersonic 2) In Setup Wizard, add test@liferay.com as an email 3) Click to change...
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...
java.lang.ClassCastException: class javax.mail.Session cannot be cast to class javax.mail.Session error when configuring email delivery using JNDI
Issue We have configured email delivery using the application server JNDI mail resource, adding the following property to the portal-ext.properties file mail.session.jndi.name=mail/Session  We followed this Liferay...
Cache Control header for other content type
Issue With the following property browser.cache.disabled=false the cache headers are not being set with other content types such as text/css, text/javascript, img/png  Environment Liferay DXP 7.4 Resolution The...
Exceptions from class "freemarker.core.FMParser$LookaheadSuccess" when using java mission control while doing perfomance analysis
Issue We are doing a performance analysis using Java Mission Control and while checking the errors tab we see a lot of exceptions coming from freemarker.core.FMParser$LookaheadSuccess class Environment...
Make Editable Fields in a Custom Widget Embedded in Fragment
Issue I have a custom widget and write editable fields in the JSP like this. <div class="form-group required"> <label class="required-field-lbl form-field-lbl" data-lfr-editable-id="resume-name"...
Portal getting slow/down frequently
Issue Liferay portal gets too slow or down frequently and below threads are observed in the thread dumps: at java.util.regex.Pattern$BnM.match(Pattern.java:5483) at java.util.regex.Matcher.search(Matcher.java:1248)...
Adding and deleting a Fragment before publishing the page still count
Issue The issue can be reproduced with the following steps: 1. Add a new Fragment Sets. 2. Add a new Basic Fragment. 3. Create a Content Page. 4. Add the newly created fragment to the Page and delete the fragment from the...
Frontend server or load balancer IP is displayed in the HTML source code of Liferay pages
Issue We have detected that if you go to the "view page source" option, open the HTML source code of any Liferay page and search the getRemoteAddr text, you will see the internal frontend server (Apache, Nginx) or load...
What are the risks of using the FreeMarker variables utilLocator, objectUtil, and staticUtil
Issue The variables utilLocator, objectUtil, and staticUtil are restricted and inaccessible to the FreeMarker engine. What are the risks of using these variables? Environment All environments Resolution If there...
Upgrading Custom Themes not created with Liferay Theme Generator from DXP 7.0 to 7.4
Issue We want to upgrade custom themes from DXP 7.0 to 7.4. But the custom themes were not created using Liferay Theme Generator. Can we upgrade custom themes using Liferay Theme Generator following this article?  ...
DL Reference Observed When Publishing Web Content to a Live Site
Issue When publishing web content to a live site, the following DL Reference may be observed: $dl-reference=/group/123456/com.liferay.document.library.kernel.model.DLFileEntry/123456789.xml$ The root cause of this...
Methods (createResponseMessage) and (sendSynchronousMessage) Removed?
Issue We have used the following two methods: (createResponseMessage) and (sendSynchronousMessage) in Liferay 7.0 for a long time. We are now upgrading to Liferay 7.4 and they are no longer working as they did. ...