Search Results

Knowledge Base 3756
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Liferay.Util.fetch does not handle impersonate
Issue After pasting the HTML component to a page and then editing it and placing a HTML code to fetch the list of Accounts that were created, it is noticeable that Liferay.util.fetch method does not work...
com.liferay.portal.kernel.exception.NoSuchCompanyException: No Company exists with the key {webId=liferay.com}
Issue When starting a new cluster installation of Liferay 7.3, this error appears, and then I cannot access to Liferay's Control Panel and other functionalities. ERROR [main][PortalInstances:261]...
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...
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...
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...
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...
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,...
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...
"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:...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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)...
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...
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...
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...
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...
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....
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...
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:...
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...
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...
org.jdom dependency can not be resolved in custom development after Liferay DXP 7.3 U10
Issue If you have a dependency of org.apache.velocity, version "1.6.4.LIFERAY-PATCHED-1" (or 2) in a custom development, org.jdom package is not going to be resolved on deployment time after upgrading to Liferay...
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" after upgrading to a new 7.4 Update version
Issue After upgrading from DXP 7.4 Update 55 to Update 58, exception java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" is thrown during Liferay startup 2023-02-28 12:15:02.136 ERROR...
Maximum Days to Display option not working as expected in Calendar event
Issue Steps to Reproduce: 1) Start a Liferay bundle 2) Add Calendar portlet to a page. 3) Go to Configurations of calendar portlet. 4) Go to display settings and do the following settings. i) Enable only the Agenda...
The webapps folder is re-created
Issue We have moved the $CATALINA_HOME/webapps folder to a separate partition. We have updated the appBase attribute to point to the new directory, and have deleted the original webapps folder under $CATALINA_HOME. We are...
Task scheduler extending BaseMessageListener not working after restart
Issue A task scheduler component extending BaseMessageListener works correctly when deployed to Liferay. When the server is rebooted, though, the task is not registered and it won't be executed. Environment Liferay...
The Layout Page Template Entry Widget Page Template Name could not be imported
Issue A page template cannot be imported Steps to Reproduce: 1) Create a site named 'Test Site 1' 2) In Test Site 1, Design -> Page Templates -> Page Templates, create a new set. 3) Under the set, create a widget...
Unable to create message factory for SOAP
Issue When attempting to implement a soap client to call remote soap services, the following error occurred: Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Unable to create SAAJ...
ConnectionPoolTimeoutException: Timeout waiting for connection from pool exception when using HttpUtil.URLtoString method from a custom development
Issue We are using Liferay URLtoString  method from  com.liferay.portal.kernel.util.HttpUtil in our custom development to call an external web service We are getting ConnectionPoolTimeoutException: Timeout waiting for...