Search Results

All Results 6948
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...
Why my custom theme is longer applied to web contents when editing or previewing them on Liferay DXP?
Issue On Portal 6.2, my custom theme was applied to web contents, even when editing or previewing them: why is this no longer working on Liferay DXP 7.0+? Environment Liferay DXP 7.0+ Resolution On Liferay DXP, please use the new concept of Page Fragments in order to achieve the same 6.2...
What happened to the taglib on 7.1?
Issue Using the <liferay-ui:calendar /> taglib on 7.1 will no longer work as it used to do on Portal 6.2 or Liferay DXP 7.0 Environment Liferay DXP 7.1+ Resolution <liferay-ui:calendar /> was deprecated as of 7.0.x and removed as of 7.1.x. with no direct replacement, this was because...
Resolving Inaccuracies and Discrepancies in Search Results
Issue Search results are providing information that should not be made available to the user performing the search such as: The total count of search results is inconsistent with the actual number of results displayed (i.e. bottom of page displays "Showing 1 to 5 of 16 entries" when...
Basic setup and tools to debug Elasticsearch queries
This article is a basic guide on how to view the queries Liferay produces and provide ways that developers can understand the results retrieved from Elasticsearch. These recommendations assume you are working in a development environment. Three basic ways to track what is happening...
Dynamic including and importing Javascript files
Issue What are the differences in the usage of javascript.barebone.files and javascript.everything.files across Liferay versions? Environment Liferay DXP 7.0+ Resolution Importing Javascript files in Liferay 7.0 On Liferay 7.0 there are the javascript.barebone.files and...
Staging History deleted after a few days
Issue After a few days, past Staging publication records disappear from the history list located in Site Administration > Publishing > Staging  Environment DXP 7.2, DXP 7.1, DXP 7.0 Resolution By default, Liferay is configured to keep the latest 50 staging records, including processes...
After upgrading to Liferay DXP 7.X, Searches are not returning any results
Issue After upgrading to Liferay DXP, we are not able to perform successful searches. For example, when searching for Web Content articles that exist, no results are returned Environment Liferay DXP upgraded from a previous version of DXP or Portal Resolution During the upgrade, one of...
How to set different favicons on different sites on the same Liferay instance
Issue Is there a way to set different favicons on different sites on the same Liferay instance? Environment Liferay Portal 6.2 Liferay DXP 7.0+ Resolution The easiest, supported and recommended approach would be to create one theme for each site and then apply it to the pages of that...
Submitting a Document with the same name results in an error and losing the file from the form field
Issue When you submit a file in the Documents and Media portlet that has the same title as a different file, an error is produced that prevents you from submitting it. When this happens, the file is lost from the form field because the page is reloaded. For security reasons, we are...
Liferay redirects to iframe source URL upon logging in
Issue After adding an Iframe to a Liferay page and set the Source URL of that Iframe to e.g. /web/guest/page2, Liferay will redirect to /web/guest/page2 when logging in through the Welcome homepage. Environment Liferay Portal 6.2 Liferay DXP 7.0+ Resolution The above has to be considered...
Custom Facet does not work with custom field (expando) created as 'searchable as keyword'
Issue Create a custom field for Web Content Articles name: mycustomfield type: text area set it 'searchable as keyword' Create a web content article and populate mycustomfield with any string (abc) call http://localhost:9200/_mapping/LiferayDocumentType?pretty to get the non-analyzed...
CSS calc() incorrect minification when css.fast.load=true
Issue When using the calc() function in a css file, e.g.:  calc(var(--elem-height) + 1px) the minifier inserts incorrect spaces after deployment, so the file cannot be interpreted: height: calc(var( - - elem - height) + 1px); Environment Liferay DXP 7.0 Resolution Please contact the...
Reset the admin user password
Issue How to reset the admin password? Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution Using " Forgot Password" in the "Sign in" portlet Note: Please make sure the admin user email id should be valid to receive the email and also the...
Startup failure due to com.liferay.portal.kernel.exception.NoSuchRoleException: No Role exists with the key {companyId=0, name=Owner}
Issue A scenario has been reported where the startup process will fail, and an error message indicating "No Role exists with the key {companyId=0, name=Owner}" or similar as in the following stack trace will be thrown: com.liferay.portal.kernel.exception.NoSuchRoleException: No Role...
Could not resolve module - Unresolved requirement error
Issue Getting below error while deploying the ext module in the Liferay instance  org.osgi.framework.BundleException: Could not resolve module: com.liferay.journal.service [1099]_ Unresolved requirement: Import-Package: com.liferay.journal.model; version="[3.0.0,3.1.0)"_ [Sanitized]...
Moving an asset category lead to bigint out of range error
Issue We have tens of thousands of categories, and we perform frequent changes in the structure, moving categories in the category tree. I experience bigint out of range error when trying to move a category. Environment Liferay DXP 7.1 Liferay DXP 7.2 Resolution You need to rebuild the...
After Liferay DXP 7.0 Fix Pack 83, double click on table's edges no longer opens a dialog with the table's properties in AlloyEditor
Issue On Liferay DXP 7.0 Fix Pack 83+, double click on table's edges no longer opens a dialog with the table's properties in AlloyEditor Environment Liferay DXP 7.0 Fix Pack 83+ Resolution In order to re-introduce the Table Properties popup, the "table" plugin shall be added via the...
I cannot import a LAR file through the widget's Export/Import menu
Issue I have a LAR file that was exported from the portal instance (for example: Wiki_Admin-202004081110.portlet.lar) I navigate to the page where the Wiki widget is located and select the Export/Import option in the widget's configuration menu When I select my LAR file for import, I get...
Startup errors after installing a hotfix with DXP 7.1 Fix Pack 17
Issue After upgrading to a hotfix with Fix Pack 17, several errors related to OAuth are displayed Some examples : ERROR [main][OAuth2JSONWSPortalInstanceLifecycleListener:93] bundle com.liferay.oauth2.provider.jsonws:1.0.28...
When authorizing OAuth2 applications HTTP is used instead of HTTPS
Issue If there's a web server in front of Liferay, when clicking on the Authorize button to authorize OAuth2 applications HTTP is used instead of HTTPS and the following WARNs are displayed in the log. 2019-11-08 09:37:05.000 WARN [http-nio-8080-exec-63][AbstractOAuthService:88] Unsecure...
Commerce 2.1.x Breaking Changes
Commerce 2.1.3 & 2.2.0: When upgrading from 2.0.7, users must first upgrade to 2.1.0 and then to the latest version of Commerce. Commerce 2.1.2 COMMERCE-2309 & COMMERCE-4212: Discount Retrieval for Pricing Algorithm  COMMERCE-2794: Migrate From Commerce Friendly URL to Liferay Friendly...
Commerce 2.1.0 Release Notes
New Features Improved Administration User Experience — Liferay Commerce 2.1 features an updated administration interface that makes the day-to-day work of managing a commerce site easy and efficient. Product, channel, catalog, order, and shipment management have all been updated with a...
Password Policies is inaccessible after upgrading from 6.2 to DXP 7.2
Issue After upgrading from 6.2 to 7.2, navigating to Control Panel > Users > Password Policies shows a UI error "Password Policies is temporarily unavailable", and an error is thrown in the logs: ERROR [https-jsse-nio-8441-exec-4][PortletRequestDispatcherImpl:304] Unable to dispatch...
Why upgrade from DXP 7.0 > 7.1/7.2 Theme recommends removing <@liferay.breadcrumbs /> macro?
Issue Why DXP 7.0 > DXP 7.1 and DXP 7.2 Theme upgrade docs recommend removing the <@liferay.breadcrumbs /> macro? Environment Liferay DXP 7.1+ Resolution The Breadcrumb widget/macro are not deprecated and can be used normally on 7.2 DXP as well. The removal of #breadcrumbs() macro from...
Errors when submitting DXP to Google Search Console
Issue After doing a URL Inspection - "Live Test" in the Google Search Console for the homepage of a Liferay DXP site, visual errors will appear in the "Screenshot" preview tab and "Page Resources" as well as "JavaScript console messages" errors will show in the "More Info" tab. To list...
"Unable to get search result view URL for class ..." error when searching for Polls and other entities from the Search Bar widget
Issue When we search for for example a Poll ABC, the Poll is not found and in logs we will have ERROR like this: Unable to get search result view URL for class com.liferay.polls.model.PollsQuestion with primary key .... Environment DXP 7.0 DXP 7.1 DXP 7.2 Resolution Background: Polls are...
Is it possible to set different Authentication methods for different sites in the same portal instance
Issue Is it possible to set different Authentication methods for different sites in the same portal instance? Environment Liferay DXP 7.2 Resolution Currently, it is not possible to use different authentication methods for different Sites in one Portal Instance on Liferay DXP 7.2. The...
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...
Liferay <-> Instagram integration
Issue Is there any way to integrate with Instagram or any plugin available for Instagram integration with Liferay? Environment Liferay DXP 7.0+ Resolution At the time of writing this article, there is no out of the box way to integrate Liferay and Instagram It is possible, however, to...
Generator-Liferay-JS: Default option isn't passed to the configuration on first page deployment
Issue When using the new Generator-Liferay-JS, default options in the /features/configuration.json file: "portletInstance": { "fields": { "drink": { "type": "string", "name": "Favorite drink", "description": "Choose the drink you like the most", "default": "water", "options": { "water":...
Is the latest Microsoft Edge Chromium-based compatible with DXP?
Issue On January 15, 2020, Microsoft released the new Microsoft Edge based on Chromium: https://support.microsoft.com/en-us/help/4501095/download-the-new-microsoft-edge-based-on-chromium is this compatible with Liferay DXP? Environment Liferay DXP 7.0+ Resolution Yes, this is compatible...
Can I add custom Layouts to Content Pages on 7.2?
Issue While using the new DXP feature called Content Pages, developers and editors might want to add custom layouts to the default list: Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Resolution Out of the box, it is not possible to add new custom Layouts on 7.0, 7.1 and 7.2...
Web content fields are not editable
Issue While editing the web content it's opening with the disabled state. Environment Liferay DXP 7.2 Resolution Steps to reproduce: Add text field, Add select field and name it like "Category Name" Add options like opt1, opt2, opt3 and provide value for opt2, opt3 except for opt1 [do...
Unable to use siteId in GraphQL after 7.2 DXP Fix Pack 4
Issue After installing Liferay DXP 7.2 Fix Pack 4, GraphQL calls using siteId will no longer work Environment Liferay DXP 7.2 Fix Pack 4+ Resolution Use siteKey instead Additional Information The reason for this change is LPS-105237. The developers noticed that siteId and siteKey were...
LDAP server is unreachable when "Required" option is enabled
Issue For any virtual instances apart from a default instance, if the "Required" option in LDAP is enabled, only LDAP users can log in to the portal. When the LDAP server is down/unreachable, none of the users able to log in. In that case, how to login to the portal to make the changes...
How to successfully install Marketplace Apps when using Liferay PaaS
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue While using Liferay PaaS, what is the process to install an application from web.liferay.com/marketplace? When I install an App...
What is the expected behavior of the Tab key in the Site Navigation Menu widget?
Issue Can I use the Tab key on the keyboard to navigate on the Site Navigation Menu from one menu item to the next menu item in sequential order? Environment Liferay DXP 7.0+ Resolution Once you tabulate on the first item in the Site Navigation Menu widget, use the arrow keys instead to...
Where are all Freemarker templates for the Site Navigation Menu located?
Issue Where are all Freemarker templates for the Site Navigation Menu located? Environment Liferay DXP 7.0+ Resolution The out of the box templates can be found at: 7.0:...
How to pass an array of categories to an embedded Asset Publisher?
Issue How to pass an array of categories to an embedded Asset Publisher? Environment Liferay DXP 7.0+ Resolution In 7.0, you can place something like this in the portal_normal.ftl of your custom theme: <#assign VOID =...

Showing 5,841 to 5,880 of 8,703 entries.