Capability

Content Management System

Liferay’s Content Management System (CMS) offers user-friendly applications for creating, editing, publishing, and managing your site’s content.

Liferay empowers you to create and manage web content effectively. Easily create web content, upload documents, and leverage a suite of tools to administer and optimize your content. These tools include a user-friendly Content Dashboard UI, built-in Translation capabilities, and Content Performance insights.

Feature
Deployment Approach
How to send Form submission notification for Guest user
Issue Form submission notifications usually are meant to be sent to already created users. Is there a way to send form submission notifications for a Guest user? Environment Liferay DXP 7.4+ Resolution Yes,...
"The server could not start in 900 seconds" error occurs when starting server in Liferay Developer Studio
Issue Liferay server crashes when running under Liferay Developer Studio for 15 minutes, reporting the following error dialog: The server could not start in 900 seconds. Environment Liferay...
Beta Feature 'Walkthrough' Documentation Unknown
Issue There is a beta feature called 'Walkthrough' available to enable under Configuration > Site Settings > Walkthrough, but I cannot find any documentation for it.  Environment DXP 7.4 Quarterly Release Resolution...
Which Liferay version should be used in gradle.properties for the 2024.Q1.1 version?
Issue Which Liferay version should be used in gradle.properties for DXP version 2024.Q1.1 Environment Liferay DXP Resolution 1. Looking at the release JSON here, the property should be...
Is it possible to enforce that you cannot create/save a parent object until you have connected to it at least one child object?
Issue steps : - Create Object called "news" - Create object called "News Attachments"  the requirement :  I cannot add new news without adding attachments , I need to prevent the user to add a new news without attachments...
Headless API is still returning properties from items in the recycle bin
Issue After we delete an image that was linked to a document through a structure and it's in the recycle bin, the Headless API is still returning all of its image details in the response. Environment 7.4...
Custom portlet renders the language resources as the key
Issue Custom portlet renders the language resources as the key. What should we change in our code to render the language correctly? Environment Liferay DXP 2024.Q2 Quarterly Release Resolution There’s a workaround...
Deployment dependencies that require internet connectivity (On-premise)
Issue What are the necessary dependencies that require internet connectivity during the build and runtime of a project?  Environment Liferay DXP 7.4 Resolution Technically, all dependencies are downloaded...
Issue while adding, publishing and deleting the objects
Issue Unable to add, publish, and delete the objects in Liferay. Below are the observed errors: 1. Uncaught (in promise) SyntaxError: Unexpected token '<', "<HTML><HEA"... is not valid JSON. 2. Failed to load...
When using blade under Windows, I get 'Failed to find Java VM' error
Issue Using any blade command, as blade version shows 'Failed to find Java VM' error Environment Microsoft Windows. Resolution This behavior can be related to updating the JVM after a blade installation. In this...
Screen name should not be required when Autogenerate User Screen Names is enabled
Issue When enabling Autogenerate User Screen Names, the Object Action still mandates a Screen Name field, which is an inconsistency. The aforementioned behavior can be reproduced by doing the following...
Search results are showing unexpected visual changes when rendering Object items
Issue When searching for Objects on a search page, there are some unexpected visual changes in the result. Environment Quarterly Releases Resolution Please verify that whether there are any HTML in the description of the...
Language Keys are processed as Literal Text in custom MVC Portlets
Issue When creating a MVC Portlet that leverages language keys, language key output is presenting as the literal text, rather than the key value For example:  Language key in view.jsp: <b><liferay-ui:message...
Form View in Workflow
Issue When an admin receives the multi-step form created by Objects to review, the form data is visible on a single page instead of page by page. Steps to reproduce: 1. Create a multistep form with the help of...
module java.base does not "opens java.lang" error in buildService using Java 21
Issue The following exception is thrown when trying to build a service with Service Builder: Failed to initialize ClearThreadLocalUtil java.lang.ExceptionInInitializerError at...
When using Liferay Objects, the pages are inaccessible when viewed from the ellipses menu
Issue When using Liferay Obejcts with enough Objects to where the ellipses menu is necessary (7 pages), the pages shown when clicking on the ellipses are inaccessible.  The pages are only accessible if they are...
Create custom API applications in Liferay
Issue Is there any way to create custom API applications without code? Environment Liferay DXP 2023.Q4. Resolution Liferay has created a new application to help developers build APIs based on custom objects in a...
Is it possible to use a hotfix when building my custom code?
Issue I have been provided with a hotfix, and I want to compile my custom code using that hotfix from my Liferay Workspace. Environment Any Liferay DXP version Liferay Developer Tools Resolution There is not an easy...
How to programmatically add a form entry with API?
Issue I am currently working with a Liferay form. I am attempting to submit a new record to this form using the /ddm.ddmforminstancerecord/add-form-instance-record API via JSON Web Services (JSONWS). This API requires a...
Download Liferay Quarterly Releases Using the Linux Command Line
Issue I want to download Liferay using the Linux command line rather than going through a web browser. Environment Liferay DXP Quarterly Releases Resolution Liferay offers a release directory that can be downloaded...
Github Copilot in Liferay IDE
Issue Is Github Copilot supported with Liferay IDE? Environment Liferay IDE / Liferay Developer Studio Resolution Liferay does not recommend or allow AI-generated code to land in their codebase. However, if someone...
Facing issues in setting 'liferay.workspace.product' property for Liferay Workspace
Issue Upgrading the portal from Liferay DXP 7.4 Update 67 to Liferay DXP Quarterly Release 2024.Q1.9 and trying to set 'liferay.workspace.product = dxp-2024.q1.9' in the gradle.properties however, it is not...
Upgrade Fails: Error after upgrading using the Database Upgrade Tool (MS SQL Server)
Issue After running `db_upgrade_client.bat` my upgrade failed with no explanation in the logs. Upgrade failed, when it was attempted again it was successful but Liferay won't start After upgrading, Liferay...
Liferay 7.3 Update36 not available on CDN
Issue We are planning to upgrade product to version dxp-7.3-u36, but noticed that it's currently unavailable on CDN product_info.json Environment DXP 7.3 Resolution Since the introduction of the Quarterly Releases, it...
Error: Could not find or load main class com.liferay.css.builder.CSSBuilder
Issue After switching to JDK11 I'm unable to build my project. Build failed with an exception that lists a path to my java version. Error: Could not find or load main class...
Unable to filter by relationship using Postgres in neasted levels
Issue When filtering data based on relationships with nested levels using PostgreSQL, we encountered an internal server error with the following log entry instead of a status 200: 2024-04-18 13:43:33.147 ERROR...
Gradle tasks not working for new versions
Issue We are trying to update our workspace, to do so we have performed the following actions based on a blade init: Update gradle-wrapper version to 7.3.3 Set in settings.gradle file for...
Objects - multiple items can be saved but only one item is displayed in the administration view
Issue When I try to create an object with an upload field, and save a new item multiple times, the object is only displayed once in the administration view. The uploaded item is not cleared from the field either. Is...
ModelSearchRegistrarHelper class mentioned in Search Service Registration article is missing
Issue I tried to follow this Search Service Registration article to perform indexing my custom service-builder object, but there is no ModelSearchRegistrarHelper class available, what should I do now? Resolution Remove...
Plugin Descriptor Error When Building Maven Fragment in AWS Codebuild
Issue We are observing errors in the console log for various plugins when trying to build a custom fragment via maven in AWS Codebuild: [ERROR] Failed to parse plugin descriptor... Invalid CEN header Environment DXP...
Dynamic Picklist in Liferay Forms using Objects
Issue We have created a Liferay form with Object and used the concept of dynamic picklist (data provider + picklist). However, we're facing issues with saving the data (selected from the picklist) upon form...
Version not available on CDN in the product_info.json
Issue Liferay version is not available on https://releases-cdn.liferay.com/tools/workspace/.product_info.json. Environment DXP 7.3-u36+ 2023 Q4.x+ Resolution Since the introduction of the Quarterly Releases, it was...
GUEST users have no access to custom objects API
Issue Templates which make use of the objects API are not working correctly for guest users. Environment Liferay 7.4 and Quarterly Releases. Resolution You need to add the VIEW permission for your custom...
How to send a confirmation email to non-authenticated users about Form submissions based on Objects?
Issue I would like to send a confirmation email to the non-authenticated user who just submitted a Form based on an Object. Environment Quarterly Releases: 2023.Q3, 2023.Q4, 2024.Q1 Resolution Create an Object with...
After importing the object to the portal, it's not visible on the 'Fragments and Widgets' option
Issue Import the object on the portal, the import was successful but after navigating to the 'Fragments and Widgets' option and searching for the imported object, it's now visible. Steps: Create a 'Demo' object with...
Custom Service Builder module, functional in Liferay DXP 7.4, no longer works when updated to Quarterly Releases
Issue A custom Service Builder module functional in Liferay DXP 7.4 no longer works in a QR environment. Unsatisfied references appear when inspecting the custom Service Builder module. Environment Quarterly...
Traces from custom module stop printing after redeploy
Issue A custom module prints traces the first time it's deployed but not if redeployed. After restarting Liferay it works again. Environment Quarterly Release 2023.Q3, 2023.Q4, 2024.Q1 Liferay DXP 7.4 Resolution...
Blank Objects page after enabling Object Model Builder
Issue We enabled Object Model Builder in the Beta Feature Flags, and when we open the Object menu, we get a blank page We also get an error in the browser console: TypeError: Cannot read properties of...
Liferay IDE / Developer Studio support for Quarterly Releases
Issue When importing a Quarterly Release workspace into Liferay Developer Studio 3.9.8: Latest blade templates or Liferay versions will not be available for selection. Contextual menus could be broken...
Form is not showed to guest (unauthenticated) users
Issue We have a form, based on a custom object, in a page. This form is not showed when user is not logged in. Whereas the form is showed when user is logged in. Environment 2024.Q1 Resolution Check if the 'guest'...
NoSuchFileException: null/override error when starting Liferay or executing the Upgrade Tool
Issue Right after starting Liferay or executing the Upgrade Tool, there a NoSuchFileException: null/override error in the log. 2024-04-01 15:44:08.392 ERROR [main][DBUpgrader:110] null java.lang.RuntimeException:...
Adding new entity to an already deployed service builder module fails
Issue The issue occurs while updating/adding a new column to the existing database custom table i.e. using Service Builder to add another entity in an existing module. Environment Liferay Developer Studio Liferay DXP...
API Response for commerce products with relationships does not contain manufacturerProducts nested fields
Issue Steps to reproduce: 1. Create a Minium site (so that you have products generated). 2. Create a new object "manufacturer" (I set it to company scope, and to appear in Applications/Content - "Panel Link"). 3. I added a...
Can I sort Liferay object entries in alphanumeric order?
Issue After sorting by the field name in ascending alphanumeric order, the results are currently sorted lexicographically. Environment Liferay DXP 7.4 Liferay Quarterly Release  Resolution This is the expected...
BaseUpgradeServiceModuleRelease not available in 7.4 anymore, is there a replacement class?
Issue The class BaseUpgradeServiceModuleRelease was previously available in 7.3 and below and is used as a start/stop method to override and be used as a service tracker.  Environment DXP 7.4+ Resolution This class...
Accessing Glowroot through the Liferay url returns a 404 error after updating from 2023.Q4 to 2024.Q1
Issue Error 404 occurs when accessing Glowroot through Liferay at /o/glowroot/ after migrating from version 2023.Q4 to 2024.Q1 Error in logs: 2024-04-11 12:51:40.306 WARN  [http-nio-8080-exec-46][code_jsp:161]...
EXT module override is not being applied in 2023.Q3.3+ from ${liferay.home}/osgi/marketplace/override
Issue Adding an EXT module override in ${liferay.home}/osgi/marketplace/override no longer functions. Environment Liferay DXP Quarterly Release 2023.Q3.3 and later releases Resolution To workaround this behavior for the...
liferay-module-config-generator as a dependency
Issue As a developer, should I add liferay-module-config-generator in the block dependencies or in the block devDependencies? Environment Liferay DXP 7.1 Resolution This module is thought to be used in the block...
Unable to build the module: Could not find com.liferay.portal:release.dxp.api errors
Issue Sometimes users face the following error while building their modules: Task modules: test-search-results-limit:compileJava FAILED FAILURE: Build failed with an exception. what went wrong: Execution failed for...
Unable to add custom object using collection display
Issue Steps to reproduce: 1. Go to Control Panel > Object 2. Create a new Object O1 3. Click on Object > Account98 4. Go to tab relationship 5. Create a relationship "O1 rel" type "One to many" with custom object...
View Display Page for Objects is not working for guest users
Issue When creating a Display Page Template to display entries of an object, even when setting the viewing permission to "guest," attempting to access the page template results in a 404 page. Environment Liferay...
Could not install Gradle distribution
Issue While importing workspace from one system to another through a remote desktop connection, the below error has been encountered: Could not install Gradle distribution from...
'ConfigurationProviderUtil cannot be resolved' after upgrading
Issue We've begun updating to the dxp:2023.q4.4 version and encountered the following error while building the code on the 2023.Q4.4 baseline:...
Object Entries do not appear in Search Results
Issue Object entries are not visible in Search results Environment Liferay DXP 7.4 Resolution When you create an Object Definition, you get to choose whether its scope is Company or Site (you cannot change it once...
ObjectFieldNameException$MustNotBeDuplicate when updating Object Definition
Issue When trying to update an object definition from one environment (eg. dev) to the other (eg. uat), the process fails with the following error:...
Liferay Artifact missing from Maven Repository
Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any implementation of these...
Service Builder Tool 1.0.478 gives "Unable to parse package path from..." Error in Windows
  Issue After cloning https://github.com/liferay/liferay-blade-samples.git, Windows OS users may run into the following error: Task :apps:service-builder:basic:basic-service:buildService FAILED Building Foo Unable to...
How to filter Objects entry with picklist's name in filter
Issue I have created 2 picklists, e.g. picklist1 and picklist2. And I created 1 object where I create 2 fields of type picklist and I mapped this to above picklists. Now I have added an object entry. Picklist values are...
Missing Parameters Format in JSONT File when using Data Migration Center
Issue Facing an issue with the missing parameters in the JSONT format file when using the "Data Migration Center" portlet. Batch Client Extension only supports the "JSONT" file format. After generating the "JSONT"...
Unable to PATCH a DateTime field in an Object back to Null
Issue The PATCH API request to change a DateTime field value in an Object back to Null does not work as expected. The value of the DateTime field is not changed, it remains the same. Environment Liferay DXP 7.4...