Search Results

All Results 6986
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Template to be part of VCS
Issue We are using Github as VCS for our modules and themes code. Structure and Template changes are done manually on the server and they are moved to next server either by export-import or we have to again make the changes on that environment manually. We want the templates to be a part...
Styles Panel styles does not apply to OOTB widgets when Publishing the page
Issue When making changes to the Styles Panel (such as changing the background color of a Widget on a content page), the changes are not applied after publishing the page (In the view-source, CSS classes and styles are missing). Environment Liferay DXP 7.3 Resolution Update to Liferay...
Cannot access source code on configuration mails with ckEditor
Issue When try to put a source code on the configuration email, after save, the CKeditor shown an empty code. Environment Liferay DXP 7.4 U72 until the U75. Resolution Upgrade to Liferay DXP 7.4 Update 76 or higher to resolve the issue. Or request a hotfix with the following: LPS-182920...
Unable to install any patch or hotfix on DXP
Issue Even after trying with a vanilla instance and restarting the server, the user was unable to install a patch or hotfix. Environment Liferay DXP [all versions ] Resolution The above issue also might happen when the required Java version is not used in the DXP environment. JDK...
PostgreSQL timezone
Issue The time zone of PostgreSQL is set as UTC. ・Is there any recommended setting for Liferay? ・Is there any issue for Liferay if TimeZone is set to UTC? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution It is recommended or best practice to have the same timezone...
Overriding Gradle default settings and downloading files from a local repository using IntelliJ
Issue Downloading files from the default Liferay repository is not possible due to firewall settings while using IntelliJ. How to change the default Gradle settings for the repositories and use a local one to get the files from it? Environment DXP 7.4 Resolution To download files from a...
FrameworkEvent ERROR when deploying Liferay to WebSphere
Issue After an upgrade from 7.4 U69 to U73, the following errors are seen when deploying Liferay to WebSphere: ERROR [Framework Event Dispatcher: Equinox Container: a2a85eaa-5ae8-4b66-87a5-4315e923a260][Framework:56] FrameworkEvent ERROR...
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 Resolution Instead of PasswordPolicy, the PasswordPolicyRel object should be used,...
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 link and http://localhost:8080/o/api, we can understand more clearly that there are two versions of the...
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 one bundle with everything it needs, that doesn't import lots of unused stuff may...
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 you restart the server - or if there is a deployment - every change will be lost...
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 specified in our compatibility matrix that were expressly built or tested with Liferay...
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 the pom.xml file should specify the target platform version of Liferay. So even...
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 the articleId inside the column preferences from table PortletPreferences...
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 to individual nodes. However if session affinity with Azure App Service is enabled,...
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 as expected. When creating a user without permission to view Accounts and then...
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] com.liferay.portal.kernel.exception.NoSuchCompanyException: No Company exists with the key...
Failed upgrade process for module com.liferay.journal.service
Issue During your upgrade process, you might encounter an error during the com.liferay.journal.internal.upgrade.v1_1_0.DocumentLibraryTypeContentUpgradeProcess step: Caused by: com.liferay.portal.kernel.xml.DocumentException: Error on line 12 of document  : The reference to entity "S"...
How to add Sample Data to Liferay DXP?
Issue While this might be a simple thing to do, the way to do this may be unknown to most Liferay users. Environment Liferay DXP Resolution Whenever you're first setting up your Liferay DXP server, you'll find the setup wizard section as soon as it launches. In order to add Sample Data...
Basic document file entry type group id is zero
Issue After upgrade to DXP 7.4 U67 from 7.0, in DLFileEntryType table the entry for Basic Document type has the following fields set to zero: fileEntryTypeId, groupId, companyId, userId. Is this the intended behavior? Environment DXP 7.4 Resolution In a clean 7.4 database, we see that...
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 using the following property: "session.timeout.warning=0" in the...
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 Liferay.ThemeDisplay.getSessionId() function will always return a blank string. To...
Second java process running on Liferay server
Issue On our production Liferay server we just saw a second java process running with these arguments: java -cp...
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 groovy script to send an email from Liferay. Change the script to add...
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 necessary for the user with the Administrator role to be active. Additional...
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: inconsistent datatypes: expected - got CLOB Environment DXP 7.4 Resolution...
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 default configuration settings will be applied. FileSystem: If .config file was...
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 Liferay dxp 7.4.13.u18 & earlier bundles. However, the service builder for Liferay...
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 Method) at...
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 fieldReference and name are often the same (by default), they are not necessarily so....
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.  ClamAV works because you can pass it a stream of data and scan on command...
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 proceso de acutalización del producto....
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 liferay_home/osgi/marketplace/ and find the desired lpkg Inside the lpkg you will find the...
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, response=null, responseDestinationName=null, responseId=null, payload=[...]...
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 Liferay with /o.   Below is a sample configuration could be implemented...
"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: com.liferay.portal.kernel.exception.NoSuchUserException: No user exists in...
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 com.liferay.portal.configuration.persistence.impl...
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: ...
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: 9d47ab22-8854-4d0e-8326-ff2792f2e6ed][Framework:56] FrameworkEvent ERROR com.liferay.portal.kernel.log.LogSanitizerException:...
Database partitioning feature
Issue Is there a database partitioning feature available for Liferay DXP 7.3 or 7.4? Environment DXP 7.3 DXP 7.4 Resolution The database partitioning feature is in a kind of lab status for 7.4 to be used and tested internally only. We must ensure no drawbacks are caused by DB Partition...
The Theme is Broken With NPE thrown in the Log
Issue The theme is broken when accessing non-existent pages. NPE is also thrown in the log. Reproduction Steps: Access non-existent pages http://localhost:8080/web/guest/p/ Or create a commerce site named "xyz" and access non-existent pages http://localhost:8080/group/xyz/p/ Result:The...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v1_1_2.DynamicDataMappingUpgradeProcess
Issue During your upgrade process, you might encounter an error where the upgrade step for module com.liferay.dynamic.data.mapping.service fails due to a NullPointerException: Caused by: java.lang.NullPointerException   at...
"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 the friendly URL for the layout with PLID 3459437. Apirila in the...
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: setting the database.indexes.update.on.startup=true property in the...
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 articles reindexed at a time However, if we set this option to false,...
What are the *.map urls present in Glowroot monitoring
Issue There are many *.map urls present while monitoring Liferay using Glowroot or any other application monitoring tool. Environment Liferay DXP 7.0 + Resolution The .map files are for JavaScript and CSS (and now TypeScript too) files that have been minified. They are called source...
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 com.liferay.portal.kernel.upgrade.UpgradeException:...
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 implementations for DB2, Oracle, PostgreSQL, and SAP DB We would like...
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 the user passes accountID = 1 as a parameter while they authenticated using...
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 com.liferay.portal.workflow.kaleo.service...
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 to your portal-ext.properties:...
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, unsatisfied references: {name: _destination, target:...
"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 com.liferay.commerce.product.exception.NoSuchChannelException: No CommerceChannel exists with the key...
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 Load Balancers instead of the user's own address. The log files of...
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 Liferay DXP 7.4 Resolution To overcome this issue, run the MySQL command below:...
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:...
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 but exists and is available on Liferay DXP 7.4. Refer to:...
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 portal-log4j.xml. The fastest way to override it is: Extract portal-log4j.xml...
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 can this Liferay server-side request be disabled? Environment DXP 7.0+...
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 new Blog, navigate to Site Menu > Design > Templates > Widget Templates 4....

Showing 3,961 to 4,020 of 8,770 entries.