Search Results

All Results 6960
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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....
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, or /api/* removed from the URLs Includes list, by navigating to...
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 the following listener tags <listener>...
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 Provider Account ID or Token How can I use another provider?   Environment...
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 true for reserved characters: Encoding a character reserved for a...
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 not work: E.g.: GET /o/headless-commerce-admin-catalog/v1.0/products/{id}...
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 ERROR java.lang.OutOfMemoryError: Java heap space at...
"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: 6a56b6f1-2524-4207-a9fb-dfe9b3dab41e][Framework:56] FrameworkEvent ERROR java.lang.IllegalArgumentException: Portlet...
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 must be manually configured as no bulk publish or export/import...
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 the default database 4) Change database type to MySQL 5) Change username...
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 the page (should count as one click) 5) the number of hits goes up by one...
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 configuration. There is no instance level configuration for this....
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) Resolution Upgrade to Liferay DXP 7.4 Update 41 or higher to resolve the...
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 documentation to configure it: Alternative Email Configuration Methods -...
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 browser.cache.disabled property is checked from the MainServlet and a few...
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 Liferay DXP 7.3 Resolution If those errors only arise while doing a recording with JMC...
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 POST request Environment Liferay DXP 7.0+ Resolution The hardship with multipart...
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 configuration using How to override Liferay logs configuration you can still use...
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 two new fragments in the new Collection After 3-5 minutes, edit the...
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. Result: It takes a long time to complete saving the changes.  ...
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 with / in the front should automatically update to start with ^/...
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" data-lfr-editable-type="rich-text">Full Name</label> <input class="is-required form-control...
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 page (DO NOT PUBLISH the page) Actual Result: Go to Fragments and...

該当件数: 8,720 件中 6,181 - 6,240