Capability

Sites

Liferay sites are customizable spaces for building personalized digital experiences. Each site includes applications for creating content, designing pages, and more. With these features, you can bring your custom solutions to life, whether intranets, public sites, customer portals, or e-commerce storefronts. In fact, you can leverage Liferay's multi-site capabilities to create multiple such sites in the same Liferay instance.

Feature
Deployment Approach
Creating Custom Validation Scripts on Web Form Portlet With DXP 7.0
This article documents how to use the custom validation script feature in the Web Form Portlet on Liferay DXP 7.0. Users might have used the same feature on Liferay Portal 6.2 and wonder which features are the same and...
Configuring Liferay DXP as SP and OKTA as IdP
This article documents the basic steps users need to execute in order to set up their instance of Liferay DXP as SP, and OKTA as IdP. Resolution OKTA Configuration Log in to OKTA and navigate to Admin > Add Application...
Requesting a New Feature or Feature Improvement
As an open-source company, Liferay has always highly valued feedback and suggestions from our community of users on how to continually improve our products. Creating and Upvoting...
Creating High Contrast Color Themes in Liferay DXP 7.0
Beginning with DXP 7.1, the Liferay platform makes use of Clay, which is the implementation of Lexicon 2.0 and the Lexicon Experience Language. This version provides improved accessibility with the offering of...
Adding Custom Password Reminder Questions
This article provides step-by-step instructions on how Liferay Portal, or Liferay Digital Enterprise 7.0, administrators can enable and leverage the user reminder queries. In addition, this article also documents how...
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...
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...
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...
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...
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...
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...
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...
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...
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)...
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...
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...