Search Results

All Results 6234
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
"assetURL" not redirecting to the desired 'Product Detail' page
Issue The issue regarding the POST /v1.0/suggestions API. Specifically, when using the API, the page does not redirect to the desired 'Product Detail' page, whereas the same functionality works correctly via the UI. Steps to reproduce: From the UI: Navigate to the commerce site. Search...
Is Session Prediction Possible in Liferay
Issue Is it possible an attacker could predict the JSESSIONID and gain unauthorized access, referencing an example from a 'Session Prediction' article? Explanation of Issue Using the "Catalog" Page in Postman: If a user uses the "owner cookie" to access the "Catalog" page via Postman,...
Certain values are lost or altered upon submitting a large form
Issue For very long forms, some input values may be unexpectedly lost or modified after submission. Some fields are submitted correctly, but from a certain point onwards, they start persisting with incorrect values (usually the default value, unless it's a calculated field). Environment...
Delay in "Add to Cart" Button Rendering on Slow Internet Compared to Other Platforms
Issue The "Add to Cart" button takes time to appear when using a slow internet connection in comparison to other platforms like Amazon, the button is immediately visible, although it remains non-functional until fully loaded. Observed Behavior: When accessing the 'Catalog' page with slow...
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...
After upgrading to Quarterly we can see a "could not resolve property: DDMStructureKey" error in the log
Issue After upgrading to Quarterly we can see the following error in the server log: ERROR [BasePersistenceImpl:629] Caught unexpected exception org.hibernate.QueryException: could not resolve property: DDMStructureKey of: com.liferay.journal.model.impl.JournalArticleImpl Environment...
Alternative management of web content pending in a workflow blocked by another user
Issue This article addresses the need to manage a workflow for web content that is in a pending state and is also in an intermediate task of the workflow, associated with a person or left undetermined. An alternative is provided for administrators to manage the workflow. Environment...
Getting a web content in scheduled status using the headless rest API
Issue We are using the Liferay Headless API method getContentStructureStructuredContentsPage of  headless-delivery /o/headless-delivery/v1.0/content-structures/<structure-id>/structured-contents To get a web content filtering by a custom field of the structure: contentStructureId: <id...
Enabling both Liferay's default login and SAML login so that users can use either option
Issue I would like to configure and enable SAML login while also having Liferay's default login available to users so that they can have two options for logging in. Environment DXP 7.4+ Quarterly Release Resolution This is the expected behavior for now. Liferay will abdicate to SAML...
An error should appear immediately after uploading a file of wrong extension within the size limit
Issue When trying to upload a file in blogs that is less than the specified limit with the wrong extension, it shows the progress bar for a while and then gives the error. Based on user experience, the error should appear immediately. Steps to reproduce: 1. Navigate to System Settings...
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'. >...
There are repeated languages that can't be modified in the Localization settings
Issue The default language for the site is shown repeated several times in the column of Current languages in Site Settings > Localization > Languages. It can also happen for the instance in Instance Settings > Localization > Languages. When trying to modify these repeated languages...
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...
Resolving 401 Errors When Using Authorization Bearer Tokens in RestBuilder APIs
Issue When making calls to a REST API service created with RestBuilder that includes the Authorization Bearer token header, the responses often return a 401 Unauthorized status. However, when the same service is tested using Swagger within a Liferay session, it responds with a 200 OK....
Avoid last name field being mandatory when creating users
Issue When creating new users, some fields (such as first name and last name) are mandatory, marked with a red asterisk. How can one specify the mandatory fields? Environment Quarterly Release 2024.Q1, 2024.Q2, 2024.Q3 Resolution A while back there was the portal property...
Access a site other than the default one without /web
Issue By default, it is possible to access the pages of the website included with the default installation both with and without /web. This article addresses the need to change the site where this behavior is required, allowing access to the pages of a specific site without /web....
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]_...
JournalArticleAssetEntryClassTypeIdUpgradeProcess WARN traces during upgrade process
Issue After upgrading from 7.3 to 2024.Q3 we are getting lots of WARN traces related to com.liferay.journal.internal.upgrade.v5_1_1.JournalArticleAssetEntryClassTypeIdUpgradeProcess upgrade process: 2024-11-20 12:58:59.859 INFO [main][UpgradeProcess:119] Upgrading...
How can we translate the Custom Heading of a Custom Facet?
Issue We have a search page with several facets. One of them is the "Custom Facet" widget. How can we translate the Custom Heading of a Custom Facet, to display in multiple languages on our site? The configuration page of this custom facet only allows for single-language input, so it is...
Slow Content Search with SearchUtil API
Issue In 7.4 q2.12, searching using SearchUtil API is taking upwards of 3-4 minutes when the expected response is in milliseconds. Environment 7.4 2024.q2.12 Resolution Do one of the following: Upgrade to 2024.q3.3+ Request a hotfix to add LPD-32852. AddgroupIdsto SearchContext...
How to remove or deselect the theme for a specific page?
Issue The user has deployed a custom theme as a WAR file, and it is configured as the default. As soon as they create a new page, the same theme is applied, but they want to remove or deselect the theme for that page. Environment Liferay DXP 7.4 Quarterly Release Resolution Users may...
Query regarding special character (~) in the URL
Issue There is a special character (~) observed in the URL when navigating to site settings. Is this special character "~" a part of the URL design pattern of the product or is this is a security concern? Environment Liferay DXP [all versions] Resolution The observed special character...
Empty search lists all the message board threads
Issue We created a few message board threads in the portlet and if we run an empty string search, all threads are displayed in the search result. Environment Liferay DXP 7.0+ Resolution This is the expected behavior, searching for 'nothing' will return all the available message board...
Creating a New User in Liferay Whenever a Liferay Object Entry is Added with Default Site, Role, and Password
Issue Creating a new user in Liferay whenever a new entry is created in the Liferay Object with a default Site, Role, and password? Environment Liferay DXP 7.4 Resolution In Liferay objects, object action defines custom business logic that you run manually or automatically for object...
Uncaught SyntaxErrors in browser console when rendering custom fields
Issue Custom fields are not rendering correctly when added to a form.  Exceptions such as the following ones can be seen in the browser's console: Uncaught SyntaxError: import declarations may only appear at top level of a module Uncaught SyntaxError: Cannot use import statement outside...
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...
How to retrieve relative URLs for document library assets?
Issue Easily retrieve relative URLs for document library assets. Environment Liferay DXP 7.4 Resolution Kindly consider using the latest Liferay DXP 7.4 release. Another option request LPD-36856 on a Support ticket. Additional Information I cannot add a relative URL into Form's "Redirect...
Is Liferay Vulnerable to CVE-2023-45960?
Issue I would like to know if Liferay is vulnerable to CVE-2023-45960?  Is Liferay affected by CVE-2023-45960? Environment Quarterly Release 2024.Q1.7 Resolution The NIST listing for CVE-2023-45960 has been withdrawn and has the following description:  Current Description Rejected...
Segments created in Analytics Cloud are scoped globally
Issue When Segments are created in the Analytics Cloud console under a certain property associated with a specific site, the segment shows up on all sites in the connected instance and are scoped globally. This is in contrast to Segments created on the Liferay side on a site specific...
Enabling real-time antivirus scanning without asynchronous background scans
Issue We would like to enable real-time antivirus scanning for uploaded files but disable asynchronous background scanning of the document library. The issue arises because: Enabling dl.store.antivirus.enabled=true triggers both real-time scanning and background scanning of the document...
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...
Users are redirected to home page on SAML sign-in in a clustered environment
Issue Users are sometimes redirected to the home page on login rather than their page of entry. The environment is clustered with SAML authentication, and the property auth.forward.by.last.path is set to true. Environment Quarterly Release Resolution This issue is resolved by LPD-39115...
"Current license is non-compliant for [security]" error is shown in the log
Issue We tried to restart the Liferay server but the server is not able to start properly, there is an error in the log: ERROR [localhost-1][com_liferay_portal_search:103] [com.liferay.portal.search.internal.SearchEngineHelperImpl(2659)] The addSearchEngineConfigurator method has thrown...
I cannot disable the execution of Groovy scripts in Server Administration
Issue Despite disabling Groovy scripting in System Settings > Security section > Script Management, Administrators are still able to execute Groovy scripts in the Server Administration > Script tab. Environment 2024.Q2+ Resolution The above described behavior is the intended behavior 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...
Keep-alive setting for VPN
Issue What is the default keep-alive setting for the Liferay Cloud VPN client? Environment Liferay PaaS/SaaS VPN client-to-site VPN. Resolution PaaS/SaaS VPN Client: Uses standard Strongswan keep-alive configuration, typically 20 seconds. VPN Server: Will define its own custom keep-alive...
Author information that is displayed in the forum posts
Issue When users send messages or create threads in the discussion forum, certain information about them (name + surname) is displayed. This article covers the need to change this behavior through a customization and display the user's screen name instead of their full name. Environment...
JavaScript URLs are not updating when Staging is enabled
Issue With staging enabled, JavaScript URLs, referencing content in Documents and Media, are not updating when a page is published from Staging to Live For example: JS URL on Staging: src:'http://localhost:8080/documents/d/guest-staging/astronaut-png' JS URL on Live:...
ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]
Issue We are getting lots of following messages in log: ERROR [http-nio-8080-exec-3][ElasticsearchIndexSearcher:152] [] null java.lang.RuntimeException: org.elasticsearch.ElasticsearchStatusException: ElasticsearchStatusException[Elasticsearch exception...
High CPU and memory use with stacktraces associated to password encryption
Issue The environment starts using a large amount of CPU and also memory. Reviewing thread dumps taking during that time, there are many threads associated to PBKDF2PasswordEncryptor.encrypt, such as: "https-jsse-nio-8443-exec-5" #115 daemon prio=5 os_prio=0 cpu=274186.74ms...
Is there an alternative to the 'Liferay.Util.selectEntity' function?
Issue After upgrading to 2024.Q2+, Liferay.Util.selectEntity does not work anymore. It has been removed, according to the 2024.Q2 Breaking Changes. Is there any replacement for it? Environment Liferay DXP 2024.Q2+ Resolution Although it has been removed as of 2024.Q2, the replacement was...
How to add application/ld+json in specific page
Issue The user wants to add an application/Id+json script on a specific page. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution Create a fragment from Design -> Fragments Paste the below script, just for reference: <script type="application/ld+json"> { "@context":...
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...
How to generate a valid Liferay SaaS/PaaS Custom SSL Certificate
Issue What are the specific requirements for a custom SSL certificate to be successfully deployed on Liferay SaaS/PaaS? Environment Liferay SaaS / PaaS Resolution Private key and certificate should be in the proper PEM format which must include encapsulation boundaries. Private key...
Unable to display icons in Table View
Issue I'm unable to display any icons next to each title in my Table View. Environment Liferay DXP 7.4 Resolution Since this method was deprecated in Liferay DXP 7.0, please consider the following alternatives: Make the url to the icon explicit. Use <liferay-ui:icon> or...
When moving a web content to another folder, the "Modified by XX" message does not display the user who moved it
Issue When moving a web content to another folder, the 'Modified by XX' message doesn't display the user who moved it, but it does record the modification time. Environment Liferay DXP 2024.Q3 Resolution The current behavior is expected. A feature request has already been submitted to...
Typing delay when editing fields in articles with too many fields
Issue I have a web content structure with multiple fields. When I create a web content from the structure, and add several fields (more than 100 entries), I experience delay while typing on the field and JS errors appear in the browser console. Reproduction Steps: 1. Start DXP 7.4 2. Go...
Accessing HTTPS services through VPN Connection
Issue Multiple security/certificate/host errors can occur when trying to access an internal HTTPS service through a SaaS/PaaS VPN connection. Environment Liferay PaaS/SaaS client-to-site VPN connection. Set up port forwarding to a HTTPS service. (e.g. vpn:1000 → 10.10.10.10:443)....
When accessing Web Content after a restoring to a backup, the following message is seen: "Result Found With Filters Type: Versions"
Issue After restoring to a backup, when looking Content and Data > Web Content  it displays the following message: 1 Result Found With Filters Type: Versions Environment DXP 7.4 Resolution When a Web Content Article is created and a restore to a backup where the article did not yet...
PortletPreferenceValue for Announcements widget does not change for content pages when upgrading from Liferay 7.2 to 7.4
Issue When upgrading from Liferay 7.2 to 7.4, the settings stored in the PortletPreferenceValue for the out-of-the-box Announcements widget does not change post-upgrade. The issue specifically affects content pages imported from Liferay 7.2 "Customize Announcements Displayed" feature of...
"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...
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:...
Zendesk Click-to-Chat uses "screenName" instead of Actual Name for Tickets/Claims
Issue The Zendesk Click-to-Chat widget uses the claim screenName, instead of the user's actual name. This becomes a problem when Zendesk then creates a contact for this user as their name is incorrect. Environment Liferay DXP 2024.q3.8 + Resolution To resolve this behavior, upgrade to...
Understanding the 'Viewable by' dropdown and Download permission for file uploads in DL
Issue How do the 'Viewable by' dropdown and Download permission work when uploading files to the Document Library? Environment 7.4 U76 - 2024.Q4 Resolution 'View' permission → 'View' and 'Download' permissions The permission that used to be View, starting from version 7.4 u76, was split...
How to filter web content by structure field with headless APIs
Issue Create a custom structure and use a headless API to filter web content based on specific fields within that structure Environment Quarterly Releases DXP 7.4 DXP 7.3 Resolution The following endpoint should be used getContentStructureStructuredContentsPage :...
Unable to access the REST API from browser with other languages
Issue Not able to access Headless API from a browser with different language than the one available in the website. Environment Liferay 2023.q4 Liferay 2024.q1 Resolution This is a known issue and fixed by: LPD-20528 Upgrade to Liferay 2024.q2+ or request a hotfix with the above.,...
Categories translated to a new language do not show the updated language despite setting the language in Account Settings
Issue We've found that when using the 'Multi Column Layout' widget template and setting the Language section on a category filter to French (ex: fr_Fr) it reverts back to 'en_US'.  This occurs even when the Account Settings for a user are altered to French. Steps to reproduce: Create a...
Elasticsearch as Service
NOTE: 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 principles will be at your team's discretion. Issue How to deploy...
Embedding videos using basic web content
Issue When we try to embed a video using <iframe> tags, during the creation the video displays, however after publishing the content and editing it again, the video is not displayed anymore and the source is updated with a sandbox attribute. Environment DXP 7.4 Quarterly release...
Paginator is not showing intermediate pages in mobile render
Issue The default Pagination Taglib Scroll is not showing intermediate pages in PWA mode. Steps to reproduce: 1. Set search.container.page.default.delta=4 in the portal-ext.properties. 2. Start Liferay and create, at least, 84 documents with a similar word in the title, let’s say...

Showing 1,741 to 1,800 of 7,623 entries.