Search Results

All Results 618
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Spring Boot Client Extension cannot be deployed successfully
Issue After deploying a Spring Boot client extension, it is loading indefinitely with the following message: CustomSpringBootService is gearing up. The service should be ready to receive requests soon. The following messages are displayed in the service's logs: [INFO tini (1)] Spawned...
How to define the order in which multiple object actions (defined for the same trigger) will be executed?
Issue I was wondering is there a possibility to order/prioritize object actions that use the same trigger? For example, I have two object action, action1 and action2, and they are both triggered by On after add. I need to run the action1 before I run the action2.  Can I do that somehow,...
Unable to get product info error showing in console
Issue When building projects, users are getting the below error in the console:  FAILURE: Build failed with an exception. * Where: Settings file 'C:\Users\ABC\Downloads\Dev\liferay\example\settings.gradle' line: 16 * What went wrong: A problem occurred evaluating settings 'example'. >...
HTML elements disappear when creating new Object entries
Issue An embedded video (iframe) and other HTML elements within a Rich Text field of an Object are not persisting after saving a new entry. Environment Liferay DXP 2024.Q2 Resolution This is an expected behavior due to the AntiSamy sanitizer. This tool will remove all iFrame and...
How to overcome BOMs pointing to wrong JARs?
Issue When compiling our custom code, we encounter issues where our OSGi modules fail to start due to unresolved references to the Liferay packages. For instance, the following error is thrown: org.osgi.framework.BundleException: Could not resolve module: my.custom.portlet [1111]_...
I cannot use the PUT method of the Object API's Batch endpoint with External Reference Codes (ERC)
Issue It is not possible to mass update a custom object's entries if: using the PUT method of the object's batch API endpoint and the External Reference Code (ERC) is given instead of the object entry's ID. The operation fails with NullPointerException: Cannot invoke...
Outdated Patching Tool found in 2024.Q3.6-.9 Docker Images
Issue A different patching tool version was found in 2024.Q3.6-.9 Docker Images, but not in bundles downloaded from the Help Center. Environment 2024.Q3.6-.9 Resolution The correct version of the patching tool 4.0.5 has been added to 2024.Q3.6-.10. Additional Information Upgrading to a...
Upload attachments to custom objects Headless API
Issue Create a custom object having an attachment field. Error 400 when trying to create an object using this field. { "status": "BAD_REQUEST", "title": "The value is invalid for object field \"attachmentField\"" } Environment 2024.Q2+ Resolution When using 2024.Q2 and 2024.Q3, the...
"Cannot use import statement outside a module" JS error with a custom form field type
Issue After creating a new form field type (e.g. blade create -t form-field ...) or upgrading a custom form field type to a newer version, a JavaScript error is displayed in the console when dragging the field in the Form editor. Uncaught SyntaxError: Cannot use import statement outside...
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, there is. It's not a direct approach, and several steps must be made in order to...
"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 2024.Q2 Resolution As of now, this does not have an existing fix. The workaround for this, is...
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 Given that this is a beta feature at its current stage there is very...
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 liferay.workspace.product=dxp-2024.q1.1 2. Similarly, the additional properties 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 .  Environment QR Resolution this is not possible in the...
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 Resolution This is the expected behavior. When an image is first moved to the...
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 based on Declare the Override in the Bnd File, which is adding the...
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 over the internet, besides the local inter-project dependencies. As a result, there...
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 resource: the server responded with a status of 501 () 3. Unsupported Request...
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 case, blade configuration points to previous JVM path. In consequence, blade...
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 steps: Go to Instance Settings → Users → Fields Enable Autogenerate User Screen Names...
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 Object that may be contributing to this behavior. If there is,...
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 key="languagekeys.caption"/></b>  Language Key Value in language.properties:...
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 Liferay objects (Building Multi-Step Forms With Liferay DXP Objects) 2....
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 com.liferay.petra.reflect.ReflectionUtil.<clinit>(ReflectionUtil.java:160) 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 clicked on in their default state.  Example: Pages 5 & 6 are inaccessible...
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 no-code UI. This new feature allows users to define the entire structure of...
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 way to achieve that. In order to be able to use patched artifacts as...
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 parameter named ddmFormValues, which needs to be passed as a JSON...
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 likes to use Copilot or any other tool to generate the code that runs on...
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 working. Environment Liferay DXP 2024.Q1.9 Resolution Try setting 'dxp-7.4-u112'...
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 has an error in the logs: ERROR [SCR Component Actor][ROOT:47] bundle...
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 com.liferay.css.builder.CSSBuilder Caused by: java.lang.ClassNotFoundException: com.liferay.css.builder.CSSBuilder...
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 [http-nio-8080-exec-9][SqlExceptionHelper:142] ERROR: operator does not exist:...
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 "com.liferay.gradle.plugins.workspace" version 10.0.3 In gradle.properties we set...
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 this the expected behavior? Environment Liferay DXP Quarterly Release...
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 the SearchRegistrar class and create a new ModelSearchConfigurator...
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 7.4 Resolution This could likely be the result of a parent block defined...
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 submission. The data selected in the picklist is not getting saved. Environment...
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 decided that new releases, including 7.3, will only be added to...
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 object to the GUEST role. Additionally, if the development is making use of a method...

該当件数: 666 件中 401 - 440