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
Changes to portlet-model-hints.xml are lost if running mvn generate-resources from the root of a maven workspace
Issue I made some changes (e.g. a hint) to the portlet-model-hints.xml file under my project's service builder folder and I am now running the mvn clean generate-resources command. If I run this command from within the...
Required alert is displayed on Name and Label fields
Issue Required alert is displayed on Name and Label fields when only the Label field is blank for Object and Object Field Steps to Reproduce: 1) Navigate to Objects 2) Click to create an Object 3) Leave only the...
How to exclude precompiled JSP files from the original module when extending modules?
Issue After implementing and deploying an extended module, changes in JSP files are not shown. When extending modules, how can I prevent precompiled original JSPs from being included in the resulting JAR? Environment...
'View' option is displayed when the user can edit it
Issue View option is always displayed Steps to Reproduce: 1) Navigate to Object Admin 2) Create an object 3) Click on the kebab menu Expected Behavior: 'Edit' is displayed instead of 'View' 'View' is displayed only...
Blocks in object layout cannot be deleted by the user
Issue The user cannot delete a block in the object layout Steps to Reproduce: 1) Navigate to Menu > Control Panel > Objects 2) Create a new object (with fields) 3) Define the layout of the object 4) Add a tab and a...
Liferay Developer Tools .zip File Not Available
Issue I need a zip version of Liferay Developer Tools that does not require local admin rights. Resolution Liferay does not provide .zip files for Liferay Developer Tools. This is because such a method could be used to...
Error: compound selectors may no longer be extended is encountered when building the themes
Issue When creating the bare-bone theme without any customization, the build is encountered with the below error: [14:26:26] 'build:compile-css' errored after 4.9 s [14:26:26] Error in plugin "sass" Message:...
Ext module based on patched original module is named as null.ext.jar after having been regenerated
Issue We are developing an ext module to extend a liferay module, com.liferay.asset.browser.web, in this case, and we have configured the build.gradle of this ext module to use this package as the originalModule. We...
Are there Blade templates available for custom Web Content structure fields?
Issue Is it possible to use a Blade template to create a personalized Field for a Web Content structure? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution For Liferay DXP 7.3 and lower versions, there is...
How to install Developer Studio using command line
Issue How to install Developer Studio using command line Environment Liferay Developer Studio Resolution Download the installer. Install Developer Studio using the following command...
Unable to create Objects with system reserved names
Issue This article details some of the names that Objects will not be able to use as they are system-reserved. Environment Liferay DXP 7.4 Update 9+ Resolution Please refrain from using the following names as they are...
Service Builder not compiling correctly using Maven after the upgrade: ArgumentsResolver is not found in com.liferay.portal.kernel.dao.orm
Issue After upgrading from DXP 7.0 to 7.3 we are having the error "ArgumentsResolver is not found in com.liferay.portal.kernel.dao.orm" if we try to recompile our service builder services using Maven: [ERROR]...
Build error while doing buildService
Issue User gets below error when doing buildService outside the *-service module: FAILURE: Build failed with an exception. * What went wrong: Some problems were found with the configuration of task...
Object Mapping: No object 'type' for an upload field
Issue Having created a new object, we can then create a new field. This example shows a new field for 'date' and is assigned the Type* Date When creating a field for a file upload, there is no applicable Type* that...
Exporting an empty package 'com.liferay.training.servicebuilder.gradebook.exception'
Issue I have tried to follow this tutorial: Back-End Developer - DXP 7.1 → Exercises: Create the Gradebook Service Layer - Steps 8-10, When I try to deploy by dragging the project to the Liferay server, I get the...
Which is the most convenient tooling to create and build new themes?
Issue It is common among users being in doubt about which is the most suitable way to create and build new themes. Two main ways of doing this are available: Using Liferay Blade or Liferay Developer Studio, which...
How to resolve slow Liferay PaaS build times when including many React modules
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue We're seeing consistent build failures (typically due to...
"Unable to get product info for: dxp-7.3-sp2" error
Issue The liferay.workspace.product=dxp-7.3-sp2 setting in Liferay Workspace's gradle.properties file suddenly started to throw an error like: A problem occurred configuring root project '...'. > Unable to...
Unable to create Liferay Module Project Fragment in LDS
Issue When trying to create a Liferay Module Project Fragment it will ask to set valid Liferay portal runtime as follows: Please set a valid liferay portal runtime, you can initBundle or modify...
could not resolve all artifacts for configuration 'classpath'
Issue The error "could not resolve all artifacts for configuration 'classpath'" occurs during the time of Liferay workspace creation using LDS and not able to process further. Environment Liferay DXP 7.2, DXP 7.3 LDS...
Invalid checksum error when initializing Liferay bundle
Issue After defining the liferay.workspace.bundle.url property in the gradle.properties file, running a Gradle Task to initialize the bundle fails with the following error: Execution failed for task ':verifyBundle'. >...
Developer Studio suddenly crashes
Issue Developer Studio closes by itself after some time with an OutOfMemory error or without any errors at all.  Environment Developer Studio 3.9.3 JDK 11.0.8 Resolution This problem can be experienced when...
Module projects cannot be created outside a Liferay workspace
Issue Before, I was able to create a module project outside a Liferay workspace. However, now I see a warning that I need a Liferay workspace: Environment Liferay Developer Studio Resolution This is an intentional change...
Unexpected error while installing Xuggler: Unable to install jar
Issue Trying to install Xuggler as an external service results in an error similar to Error: An unexpected error occurred while installing Xuggler: Unable to install jar xuggle-xuggler-arch-x86_64-pc-linux-gnu.jar...
Cannot create war-core-ext due to "could not get unknown property 'portal'" error
Issue When building a new module project based on the war-core-ext template, the build fails due to the following error: What went wrong: A problem occurred evaluating project ':ext:gwext'. > Could not get unknown...
React JS widget created with the Liferay JS Yeoman tool does not handle single or double quotes properly
Issue When saving a configuration field with a React JS widget created with Liferay JS Yeoman tool, the following browser console error may be observed, and the configuration does not save successfully. Uncaught...
Is there any style guide or predefined rules for SonarQube?
Issue I want to develop my code as true as possible to Liferay code using the SonarQube tool. Is there any style guide or predefined rules for Sonar Qube? Environment Liferay DXP 7.0+ Resolution We do not use...
Where to place pre-startup scripts in Liferay Workspace
Issue We are building Docker images so we run the task "gradle buildDockerImage" to build our image. We would like to know the following: Where do we have to place in our workspace "pre-startup" scripts? We...
Adding a valid liferay runtime in Dev Studio
Issue When attempting to create a Liferay Module Project Fragment, I'm encountering the following error: "Please set a valid liferay portal runtime, you can initBundle or modify 'liferay.workspace.home.dir' to make it...
SSLHandshakeException handshake_failure after updating Liferay Workspace
Issue SSLHandshakeException handshake_failure is thrown after updating the Liferay Workspace version, as shown below: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at...
Custom module created from form-field template not working as expected
Issue I created a custom form field using the form-field template in Developer Studio, but when I deploy the module, the form field is not working as expected. The form field does not render and the form never...
'Failed to run platform init' error when installing Developer Studio
Issue When running the Dev Studio Installer, I encountered an error that looks like the following: Problem running post-install step. Installation may not complete correctly Error running C:/Program...
Liferay Gradle plugin is not compatible with gradle 6.0+
Issue When building a service using Service Builder, I encounter the following error: A problem occurred configuring project ':modules:test:test-api'. > Failed to apply plugin class...
Errors Updating Liferay Workspace
Issue I'm running into errors when attempting to update my Liferay Workspace to a higher version. Environment Liferay Developer Studio Liferay Workspace with Gradle Build Resolution If your project does not build or...
Cannot read property 'help' of undefined error when trying to upgrade a theme to Liferay DXP 7.2
Issue While following this tutorial: https://help.liferay.com/hc/en-us/articles/360029005512-Upgrading-Your-Theme-from-Liferay-Portal-7-0-to-7-2, users may encounter the below error: $ gulp upgrade...
Can I use Java 11 in Jenkins to build 7.2 projects?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Liferay DXP 7.2 is compatible with JDK11, how can I have...
Can't find npm jQuery portlet template for DXP 7.2 in Dev Studio
Issue I want to create a Liferay Module project for DXP 7.2 using the npm jQuery portlet template, but I am unable to find the template in the drop down: Environment Liferay Developer Studio  DXP 7.2 Resolution The npm...
Dev Studio 3.9.0 does not start up with macOS Big Sur
Issue Due to an issue with the bundled version of Eclipse, Dev Studio 3.9.0 on macOS Big Sur fails to start up, showing an error message "Alert: Failed to create the Java Virtual Machine." Environment Dev Studio 3.9.0...
Liferay DXP 7.0 Theme Generator installation fails with Missing required argument #1 | EMISSINGARG
Issue While following the Liferay documentation about 7.0 DXP theme building with the Theme Generator, the following error will be thrown on Terminal when running npm install -g yo gulp: npm ERR! Windows_NT...
Can I use the Target Platform BOM to include the correct biz.aQute.bndlib version?
Issue When using the Target Platform functionality in a Liferay Workspace (to use the dependencies from the target version's BOM) to try to include the biz.aQute.bndlib in a 7.2 dxp-5 custom module, it fails to...
nodejs download fails due to invalid link
Issue Customers may encounter failures using Gradle v.4 + Workspace. Here is the relevant stacktrace exception: > Task :downloadNode FAILED Trying to download...
Can I use JDK 11 for compiling Liferay DXP Projects?
Issue The Compatibility Matrix for versions 7.0 until 7.3 under the heading JDK mentions Java 11 but says: "JDK Certification is for runtime only. JDK 8 is required to build or compile Liferay DXP Projects" For 7.4...
Liferay Workspace Target Versions
A Liferay Workspace is a generated environment that is built to hold and manage your Liferay projects. Please see the official documentation for further instructions on Creating a Liferay Workspace.  Resolution You can...
Installing Liferay Project SDK on Windows results in error java.io.FileNotFoundException
Issue When trying to install Liferay Project SDK on Windows the last part of the installation is canceled with the error message below: Problem running post-install step. Installation may not complete...
Service Builder buildWSDD gradle task fails
Issue I created a service builder and added the followings to the settings.gradle: import com.liferay.gradle.plugins.service.builder.ServiceBuilderPlugin import...
Target Platform feature no longer works after updating the Gradle workspace
Issue Target Platform feature no longer works after updating the Gradle workspace Environment Liferay Gradle Workspace 2.0.3 or later Resolution Portal source indexing is disabled in Gradle workspace version...
A warning message appears when installing LiferayDeveloperStudio.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Cannot build a theme created with blade: Sass::SyntaxError: Invalid CSS after "...nput-margin-x: "
Issue When creating a theme in the latest Developer Studio, the build fails with Sass::SyntaxError: Invalid CSS after "...nput-margin-x: ": expected expression (e.g. 1px, bold), was "!default;" Environment...
initBundle FAILED when creating a Liferay Workspace Project in Liferay Developer Studio with "Download Liferay bundle" option checked
Issue When creating a Liferay Workspace Project in Liferay Developer Studio with "Download Liferay bundle" option checked, the following initBundle FAILED error is reported in the console: CONFIGURE SUCCESSFUL in 15s...
Issue: An option to select the Liferay version is not available in Liferay Developer Studio
Issue While creating a workspace using LiferayDeveloperStudio-3.1.2, an option to select the Liferay version is not available in LDS. Environment LiferayDeveloperStudio-3.1.2-ga3-windows Liferay DXP 7.1 Resolution By...
The dependency versions are not removed by Liferay Upgrade Planner
Issue While upgrading code using Liferay Upgrade Planner, the dependency versions are not removed by Liferay Upgrade Planner after the step of "Remove Dependency Versions". Environment Liferay DXP 7.2 Liferay Dev Studio...
Gradle builds failing to complete
Issue When using Gradle my builds are failing to complete  Environment Liferay DXP 7.1 + Gradle ver. 4.10.2 Resolution Please try downgrading to Gradle ver. 3.5.1 and then repeating the full build process...
How to resolve Dev Studio "Could not create DXP download token" installation errors
Issue When trying to install Liferay Dev Studio, I get a UI error that states "Problem running post-install step. Installation may not complete correctly. Could not create DXP download token," and no files are...
Change of context between themes is not working as expected
Issue Changing pages using the navigation from Liferay won’t actually trigger a reload in the page. Instead, the content that is being displayed will change, and some of the resources and imports won’t actually be...
Error thrown while installing LDS
Issue While installing Liferay Developer Studio, after providing the email address and password when we click on Next, an error related to the token generation is thrown as shown below. Problem running...
I can't autodeploy in DeveloperStudio
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue On...
Known Issue: CSS Builder Versions Errors for War-style Projects
This article documents a known issue in the CSS Builder-3.0.0. This issue affects developers who are still using existing war-style (war-mvc-portlet or spring-mvc-portlet) projects and an older version of the CSS...
Unable to Update User Records Using UserLocalServiceUtil Class
Issue The root issue is that using user.persist(); more than once while attempting to update User data via the UserLocalServiceUtil class fails in DXP 7.1. Example of failed code: user =...
The Command getPortletPath(PortletDataContext portletDataContext) does not return portlet's path
Issue Using the command protected String getPortletPath(PortletDataContext portletDataContext) { return portletDataContext.getPortletPath("quizentry_WAR_aaaportlet"); } to retrieve a portlet's path does not work,...
Method Name Change for JournalTemplateServiceUtil.getStructureTemplates(groupId, structureId)
Issue In the past, developers could get the list of JournalTemplates in Portal 6.2 using JournalTemplateServiceUtil.getStructureTemplates(groupId, structureId) After renamed as DDMTemplate, the corresponding...