Search Results

All Results 618
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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 service folder, the modification is kept, but if I run it from 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 Label blank 4) Try to save 5) Do the same for Object Field Expected...
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 Liferay DXP 7.0+ Resolution Note: Customization with Ext projects is...
'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 when the user cannot edit it Observed Behavior: 'View' is always...
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 block 5) Add a field to a block and save 6) Navigate to Layout 7)...
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 circumvent restrictions organizations often intentionally put in...
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: build/_css/compat/components/_dropdowns.scss Error: compound selectors may no...
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 have installed a hotfix that includes a patched version of...
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 no such Blade template.  For Liferay DXP 7.4 it's possible to use the...
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 ./LiferayWorkspacewithDevStudio-xxx-linux-x64-installer.run --mode unattended --java_executable...
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 system reserved: actions companyid createdate creator datecreated...
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 ':modules:xxxx:buildService' (type 'BuildServiceTask'). > File '/.../service.xml'...
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 may be assigned. Environment DXP 7.4 Resolution This is currently being...
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 following error message: modules:gradebook:gradebook-api:compileJava...
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 will use Gradle or Maven tasks in turn. Using the Liferay Theme Generator,...
How to resolve slow Liferay PaaS build times when including many React modules
Issue After adding more frontend React modules to our Liferay Workspace, we're seeing consistent PaaS build failures due to timeouts. As a workaround, builds now succeed after configuring LCP_CI_BUILD_TIMEOUT_MINUTES to be multiple hours instead of the default 30 minutes. However, when...
"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:...

該当件数: 666 件中 541 - 600