Search Results

All Results 6975
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
"No primary key column found for AssetEntry" errors when upgrading from 7.2 to 7.4
Issue After running the upgrade process from 7.2 to 7.4, the following error message is observed in the upgrade logs: 2023-03-31 21:42:50.514 ERROR [main][DBUpgrader:79] null...
Model Listener cannot record an occurrence for user assignment in a password policy
Issue Unable to record audit records using the add association method in either the user listener or the password policy model listener when a user gets assigned to a password policy. Environment DXP 7.4...
API versioning in Liferay Headless
Issue Does Liferay Headless framework support API versioning? Environment DXP 7.3 Resolution Liferay Headless framework does support API versioning. With the combination of this GitHub...
React widgets take more than 10 seconds to load on page
Issue React widgets that have files caching in the browser take 10+ seconds to load. Environment DXP 7.3 Resolution Using Webpack instead of NPM Bundler may help with this performance issue. Having only...
Can't enable Xuggler in DXP
Issue The "enabled" checkbox for Xuggler does not appear after properly following the official documentation containing the steps to enable it. Environment DXP 7.3 Resolution Please note that every time...
Is Liferay Portal 6.2 compatible with CentOS 8.6?
Issue Is Liferay Portal 6.2 compatible with CentOS 8.6? Environment Portal 6.2 Resolution CentOS 8.6 version is not tested and certified with Liferay 6.2. The supported configurations are only those...
How to generate a sustainable Maven project?
Issue When creating a workspace using Maven, it is given a limited number of versions, so how to solve this in order to create a sustainable Maven project? Environment DXP 7.4 Resolution The properties in...
Web Content Display portlet loses the selected Web Content when upgrading to Fix Pack 20
Issue After upgrading Liferay DXP 7.2 from Fix Pack 8 to Fix Pack 20, the Web Content Display portlets lost references to selected Web Content. Environment Liferay DXP 7.2 Resolution The issue is happening because...
Does Liferay support session affinity with Azure?
Issue Is Azure Zone Redundant app service compatible with Liferay DXP? It appears that when you select an App Service to be Zone Redundant, Azure manages the cluster for you. That is, you don’t get access...
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]...
How to trigger test emails from Liferay?
Issue We have configured our SMTP in Liferay. We would like to test if emails are sent and received. How can we trigger a test email from Liferay?   Environment Liferay DXP 7.4   Resolution You can use the attached...
Does the Admin user have to be active to upgrade Liferay?
Issue We are going to upgrade our Liferay portal and would like to know if there is any problem if the Admin user is inactive. Environment Liferay DXP 7.4 Resolution To perform the Liferay upgrade it is not...
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...
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. ...
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...
How to check jar versions of certain marketplace apps
Issue You might use our OOTB jars to build your modules and for that reason you wish to know the version before an upgrade process, for example Environment Liferay DXP 7.0+ Resolution Navigate to...
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...
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...
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...
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:...
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.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...
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...
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...
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...
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...
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:...
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...
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...
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. ...
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...
'Error:Internal Server Error' when editing field formula in objects
Issue When adding data in the Formula Builder field and then deleting it, it is not possible to save Steps to Reproduce: 1) Navigate to Control Panel -> Objects 2) Create one objects 3) Add a field formula 4) Go to...
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...
Is there a Tool to Whitelist Specific Regex in OSGi?
Issue Is it possible to enable a whitelisting of specific regex for OSGi module configurations? Environment DXP 7.2 Resolution There are not any out of the box tools regarding whitelisting specific regex for OSGi. The...
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...
Soft Delete for Sites and Pages
Issue When deleting pages and sites, they are permanently deleted, making the process irreversible. Is there any parameters where I can configure this exclusion with the possibility of reverting?  Environment All...
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...