Search Results

All Results 623
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
"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 get product info for: dxp-7.3-sp2 Environment Liferay DXP 7.3 Fix Pack 2 Liferay...
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 'liferay.workspace.home.dir' to make it point to an existing runtime. Environment Liferay DXP...
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 3.9.4 [It is the latest version while documenting this article], 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'. > Invalid checksum for file '{liferay-bundle-file}'. Expected {checksum...
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 JDK 11.0.8 is used to start up Developer Studio, for example by having the...
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 implemented under LPS-110421. The reason for this change is that...
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 Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution This issue can...
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 SyntaxError: missing ) after argument list at Object.addHTML (combo:441) at...
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 SonarQube as a code quality review tool in our code, therefore we can't provide...
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 have tried to create the folder in common or specific environment folder but then...
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 point to an existing runtime." Environment Liferay Developer Studio...
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 java.base/sun.security.ssl.Alert.createSSLException(Alert.java:128) 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 successfully saves. Environment Liferay DXP 7.2 GA1 to Fix Pack 3 Resolution...
'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 Files/Java/jdk1.8.0_51/bin/java.exe-jar "C:/Program Files (x86)\LDS Test...
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 'com.liferay.gradle.plugins.node.NodePlugin'. > Could not create plugin of type 'NodePlugin'. > Could not...
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 you're encountering errors when running any Gradle command, it likely...
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 test-theme/node_modules/gulp-help/index.js:81 task = gulp.tasks[name]; ^ TypeError: Cannot...
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 the same version on Jenkins within my Liferay PaaS project? Environment...
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 jQuery portlet template was intentionally removed from the available...
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 Resolution A future Dev Studio release will have the updated Eclipse...
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 10.0.17134 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program...
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 compile. This used to build without issue in earlier versions of Liferay. The...
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 http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz to...
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 the message is: "JDK compatibility is for runtime and project compile...
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 develop against a specific Liferay Product Version in your workspace...
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 correctly Error Running C:\Users\%USERNAME%\.jpm\windows\bin\jpm install -fl...
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 com.liferay.gradle.plugins.wsdd.builder.WSDDBuilderPlugin ... gradle.beforeProject { project ->...
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 2.0.3+ (Target Platform plugin version 2.0.0+). To enable this functionality,...
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 use the feedback button to let us know. Issue When installing...
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 Liferay DXP 7.1 Liferay DXP 7.2 Resolution Either use the latest Blade, IDE, or...
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 CONFIGURE SUCCESSFUL in 0s > Task :downloadBundle > Task :initBundle...
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 installing the latest LDS as listed in the Liferay compatibility...
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 3.6.2 and versions prior to 3.6.2 Resolution In Liferay Developer...
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 Approaches on how to...
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 installed.  I am connected to the internet and I've verified the username and...
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 loaded again, what gives Liferay a big boost in terms of load. This is the...
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 post-install step. Installation may not complete correctly. Could not create DXP...
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 the server in DeveloperStudio, the test module is displayed as "Could...
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 builder (css.builder-2.x) . It was discovered that if the CSS Builder...
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 = UserLocalServiceUtil.getUser(oUserReg.getUserId()); user.setStatus(WorkflowConstants.STATUS_APPROVED...
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, especially since implementing OSGi modularity functions. Environment...
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 DDMTemplateServiceUtil.java class does not seem to have a method to retrieve...
Troubleshooting Service Builder Blob Compile Issues
Issue Service builder with Blob and compound primary key throws compilation error. The console errors might look like this: [javac] /Users/xxxx-yyyy/Projects/aaaa/dxp/plugins-sdk/portlets/bbbbb-services-portlet/docroot/WEB-INF/service/com/aaaa/portal/model/InvoicePDFBlobModel.java:42:...
Liferay Developer Studio 3.5.0 Release Highlights
Liferay Developer Studio provides an all-in-one, integrated development environment based on Eclipse for developers to build plugins for the Liferay Digital Experience Platform. Liferay Developer Studio is an Eclipse product that includes the Liferay IDE plugins, additional enterprise...
Liferay Maven Troubleshooting Guide
This article is a troubleshooting guide to assist with common errors in using Liferay Maven SDK. The information listed below is applicable to all Liferay Portal versions.  Resolution When encountering issues with Maven, it is important to verify that Maven has been installed correctly...
Error Message 'Invalid Code Length Set' When Creating a Theme Using Maven in LDS
This article documents a known issue where creating a theme using Maven in LDS may result in an error message: Invalid code length set. The root cause is that some dependencies are not downloaded completely. This article describes a workaround to resolve this error. Steps to Reproduce...
Blade Deploy Does Not Support WAR Files
Liferay's Blade CLI is an easy way for Liferay developers to create new Liferay modules. One of its features is to deploy modules, as described in the Deploying Modules with Blade CLI documentation. Unfortunately, at this time, Blade does not support deploying .war files, though a new...
Unable to Build a DXP 7.1 Theme in Developer Studio
This article documents a known issue when building a theme in DXP 7.1, using Developer Studio 3.3. Steps to Reproduce Start Liferay Developer Studio 3.3 with a 7.1 workspace project. Go to New --> Liferay Module Project with the following properties: Name: umf-v7-theme Gradle Liferay 7.1...
DXP Features Summary
Liferay Digital Experience Platform (DXP) has been redesigned to include new functionality. The following list is a summary of what is new to Liferay DXP. Digital Experience Platform (DXP) Foundation OSGi Open Service Gateway Initiative (OSGi) is a framework that allows for modular...
Extension Environment Migration Tips
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. Ext-plugins were created to replace the extension environment that was used in Liferay 5.2.x EE and previous...
Using the 'getOriginalServlet' Function to Retrieve the Default Query String in DXP 7.0
This article serves as a reference guide on how to use the getOriginalServletRequest function to get the default queryString when using the OSGi framework. Developers familiar with Liferay Portal 6.2 EE and now using DXP 7.0 (also 7.1, 7.2 or 7.3) will find that certain requests are now...
WeDeploy Auth Admin Portlet in Liferay DXP 7.0 Fix Packs
When deploying Liferay DXP 7.0 Fix Pack 24, 25, 26 or 27, the WeDeploy Auth Admin portlet will appear in the Control Panel. WeDeploy is currently a beta product. The addition of this portlet will have no impact or security risk.  Installing an affected fix pack will result in the...
LiferayPortletURLs Generated For a .War File Do Not Have Authentication Token
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. Subscribers often develop custom portlets and themes based on the APIs Liferay provides. As part of the portlet...
JSONWS Guest Access
The Liferay platform's JSONWS page is available to unauthenticated users at your Liferay_URL/api/jsonws. However, this does not mean that guest users have access to execute JSON web services. Even if the web services are listed in JSONWS page when accessing as Guest, most of the web...
Getting Started With Developer Studio
With the purchase of a subscription to Liferay Digital Experience Platform (DXP), customers have access to Liferay Developer Studio, which  is a set of Eclipse plugins designed to ease development with Liferay DXP.  This article documents the features included with Liferay Developer...
Changes in MVCActionCommands and portletIds
This article documents changes to the MVCActionCommand type of commands after Liferay DXP 7.0 Fix Pack 11 is deployed. This change most affects developers building portlets in Liferay IDE tools (e.g. Liferay Developer Studio or Liferay Blade). Before Fix Pack 11, developers did not have...
Overriding Core Classes with Ext Plugins
A supported use case for using Ext plugins in Liferay DXP is overriding Liferay Digital Enterprise's core classes (e.g., portal-impl, portal-kernel, etc.). You can reference the Finding Core Liferay Portal Artifacts section for help distinguishing core classes. Make sure you've reviewed...
Extending Core Classes Using Spring with Ext Plugins
This article documents a supported use case for using Ext plugins in Liferay DXP, which enables you to extend Liferay Digital Enterprise's core classes (e.g., portal-impl, portal-kernel, etc.) using Spring. You can reference the Finding Core Liferay Portal Artifacts section for help...
Adding to the web.xml With Ext Plugins
A supported use case for using Ext Plugins in Liferay DXP is adding additional functionality to Liferay Digital Enterprise's web.xml file. Before beginning, make sure you've reviewed the generalized Customization with Ext Plugins tutorial. Resolution As an example, you'll create a sample...
Building a DXP 7.0 Dashboard Example Using ELK
Liferay DXP 7.0 has close ties to Elasticsearch for search-related features.  As it happens, Elasticsearch is one part of the ELK stack.  So it is natural to ask, "What is possible if I use the whole ELK stack?" The answer is that there are many opportunities. One option presented here...

該当件数: 671 件中 541 - 600