Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
"Problem with the configuration: Unknown release in folder ..." when patching the source code
Issue When patching the source code, customers may receive the error: "Problem with the configuration: Unknown release in folder ..." Environment Liferay DXP 7.1+ Resolution Have a usable ReleaseInfo.java file...
Indexing is taking too long
Issue Reindexing is taking or has taken too long to finish. Environment Liferay DXP 7.0+ Resolution If reindexing is deemed slow or is still ongoing (the 2-arrow icon can be seen at the top right), it may have...
Google PageSpeed Insights (Mobile) results for a Liferay DXP site have a low score
Issue After submitting your Liferay site to the Google PageSpeed Insights tool, a low score for Mobile will be returned, flagging issues on aggregated resources as: - Eliminate render-blocking resources - Remove...
Importing a third-party JS package with liferay-npm-bundler will result into "Cannot use import statement outside a module"
Issue When adding and importing a third-party package dependency to a Liferay NPM module made with the Liferay Bundler (for example, npm Angular Portlet Template, the following errors may be observed in the...
aui-io-request throws io ... is not a function
Issue When using a code similar to the below: AUI().use('aui-io-request', function(A){} The browser's console will throw this error: Uncaught TypeError: "io.upload is not a function" Environment Liferay DXP 7.2...
License files containing '-ext' will result in error
Issue When deploying a license XML file which contains the string '-ext', an error will appear showing the following: 12:28:30,346 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:863] Deploying...
Form data is not captured when using Liferay Form embedded in the external Website
Issue After embedding Liferay form in the external website (for example, a plain HTML website), the form data is not captured after submitted successfully. Environment Liferay DXP 7.1 Resolution One possible reason for...
Resolve the error "Load timeout for modules..."
Issue I wanted to publish the comment to reply to a thread inside the category of the message board but it failed when my internet connection was slow. I also observed an error "Load timeout for modules..." in the...
Important pointers and configurations for the scheduled web content
Issue The web content is not published based on the scheduled date and time.  Concern about the behavior to check how it works Steps to reproduce: Started the DXP 7.0 vanilla bundle Create new web content by...
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...
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...
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...
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...
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...
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...
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 -...
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:...
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:...
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....
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...
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...
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...
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...
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...
"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...
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...
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...
Are there any improvements to the DXP 7.1 page columns user experience?
Issue While managing big page trees in Liferay DXP 7.1 and working on actions like drag and drop, users may experience issues, like: blue cue flickering among columns, drag action stopping or giving unexpected...
Why the error "Failed to bind to the LDAP server with userDN" is thrown in the logs
Issue What is the reason behind the following error which is thrown in the logs? [LDAPAuth:198] Failed to bind to the LDAP server with userDN CN=VERMA BRIJESH KUMAR...
[$SITE_NAME$] associated with assets are not coming in the mail content
Issue [$SITE_NAME$] associated with assets are not coming in Asset Publisher's Email Subscription mail content Environment Liferay DXP 7.0 Resolution It has been reported as a bug on this ticket...
Known issue - NullPointerException is thrown with SoyTofuException for frontend.taglib.chart - spline chart
Issue With dxp FP 15 in Liferay DXP 7.1, the chart functionality is not working. After deploying the module, the NullPointerException is getting thrown with the SoyTofuException as below. 2020-01-29 06:29:51.273...
Limit the script in Text field of Web Content Structure to avoid XSS vulnerabilities
Issue The Text field of Web Content Structure can be injected by any script if ${textfield_name.getData()}is used in the template to display the text. Environment Liferay DXP 7.2 Liferay Portal EE 6.2 Resolution When...
The default display content "Choose an Option" in Form select drop-down list is not automatically localized
Issue When creating a Form in Chinese(or any other language), add a "Select from List" filed, the default displayed content "Choose an Option" is not changed to Chinese. Environment Liferay DXP 7.1 Resolution The default...
Asset Publisher shows assets with categories missing in the filtering options
Issue After setting the Asset Publisher to filter assets that only have certain categories, portal administrators may notice that even other assets with different categories (not present in the filtering...
RSS Feed won't display and will show "cannot be found" error
Issue After adding a certain URL in the RSS Publisher widget, the feeds will not be displayed, showing a red error message on the widget's interface: "$RSS_FEED_URL cannot be found." Environment Liferay Portal...
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...
Why is Liferay DXP publishing documents that were not selected for the Staging publication?
Issue When a Staging publication is performed more documents are published than were modified or selected. Environment Liferay DXP 7.2, 7.3 environments using Asset Publishers set to dynamic selection style....
What happened to the Liferay WYSIWYG portlet on 7.1+ ?
Issue Looking for a 7.1 DXP or 7.2 DXP compatible version of the Liferay WYSIWYG portlet on the Marketplace, customers will not find any Environment Liferay DXP 7.1+ Resolution Liferay WYSIWYG portlet was...
Why does Liferay inject redirectUrl to /web/guest/home in my website?
Issue Opening the HTML source of the home page in a website made with Liferay DXP, customers may notice the following script injected: Liferay.Session = new Liferay.SessionBase({ autoExtend: !0, redirectOnExpire:...
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...
I cannot change the site name of default site of an instance
Issue In site configuration I cannot see any options to change the site's name for the default site of an instance. Environment Liferay DXP 7.0 - Liferay DXP 7.2 Resolution Site name of default instance can only...
Unwanted columns in CSV/Excel exported form
Issue After I export my form entries to CSV, I see a lot of unneeded, additional columns in the result, like previous labels of my form fields Environment DXP 7.2 Resolution Fields whose labels you have been modifying over...
Constraint (IX_228562AD) violated when LDAP import on startup is on
Issue I get Unique constraint (IX_228562AD) violated on Server restart when LDAP's Import on startup is turned on. Environment Liferay DXP 7.2 Resolution Eliminate LDAP's Import on startup property in Control...
Impact of Google Chrome 80 and changes in the default behavior of the SameSite cookie setting on SAML
Issue Updated (May 31, 2021): The behavior is enabled by default since Chrome 84. Updated (April 3, 2020): Chrome is Temporarily rolling back SameSite Cookie Changes Updated (June 12, 2020): Added information about...
Known Issue: Liferay Commerce Downloads Go to Empty Page
This article documents a known issue regarding Liferay Commerce downloads in Help Center. When Liferay Commerce customers and partners attempt to download one of the available releases, in most cases the user...
DataIntegrityViolationException on SocialActivitySet Table after Upgrading 6.2 to 7.0 or 7.1
Issue After migrating from 6.2 to 7.0 or 7.1, the below stacktrace can be observed in the server when editing and saving migrated web content: ERROR L [liferay/async_service-1][ParallelDestination:55] Unable to...
Byte is not localized to french language, it should be octet
Issue The storage size is not localized in the TextFormatter class in the com.liferay.portal.kernel.util package. This values are hardcoded in the variable _STORAGE_SIZE_SUFFIX_B, _STORAGE_SIZE_SUFFIX_KB,...
7.2 DXP AlloyEditor toolbar button Proof of Concept module
Issue When attempting to create a 7.2 DXP AlloyEditor toolbar button following the previous DXP 7.1 tutorial Creating the Button's JSX File, the error React.createClass is not a function will be encountered, OR...
java.io.IOException Unable to create directory
Issue After upgrading the Liferay portal DB from 6.2 to 7.2 successfully, the server started successfully but But documents and pages are not visible in the upgraded environment. Below error occurs: [#Error1]...
PrimeFaces non-standard protocol within will result into _jsfBridgeRedirect=true in the DOM
Issue In a Liferay Faces (PrimeFaces) portlet, when using a markup similar to the one below: <p:link href="d3://searchdefault&amp;test_1=dummy==" value="Hover the mouse or inspect here to see the resulting...
With the search engine disabled on dxp-15-7110+ fix pack, no more Pages are shown in the Site Administration
Issue In special environments where the search engine has been disabled and the fix pack dxp-15-7110 has been installed, both Public and Private layouts will not be shown Environment Liferay DXP 7.1 Resolution A...
JS and CSS modifications will be applied upon redeployment of React/Angular npm based portlets
Issue While developing React or Angular based npm-portlets, you'll notice that, unless the browser's cache is cleared, JS and CSS modifications will not be applied upon redeployment. This is true also for DEV...
yo liferay-theme:import fails with error: "doesn't appear to be a theme in the SDK"
Issue When running the task yo liferay-theme:import to import a 6.2 theme in order to convert it to a 7.1+ Theme Generator type of theme, the tool will print: doesn't appear to be a theme in the SDK Environment...
Unable to Reindex Elasticsearch due to missing analyzer plugins
Issue Unable to reindex on a remote Elasticsearch server. Although it seemingly works in the UI, the following errors are thrown in the logs: 2019-12-10 12:15:45.183 ERROR...
Error in configuring/authorising data source
Issue Facing following error while authorizing analytics data source for liferay instance. Redirect...
Liferay DXP 7.1 SP3 Ships With Lower Version of LCS - v4.2
Summary The 7.1 SP3 build contains LCS v4.2 by default instead of LCS v6.0. This oversight was discovered after the 7.1 SP3 bundle was released and will cause issues for Users upgrading their instance to 7.1 SP3....
How to create a custom Elasticsearch analyzer that is insensitive to accents
There are some Elasticsearch analyzers that are sensitive to accents, for example, the Catalan analyzer returns no results if you search "diputacio", even if the indexed word is "diputació". This can be problematic, as...
How to enable "Save as Draft" option in Document and Media portlet
Issue Unable to see "Save as Draft" option in Document and Media portlet Environment Liferay DXP 7.2 Resolution "Save as draft" feature in Document and Media is disabled by default. #     # Set this to true...
Volume of Web Content causing slow page loads
Issue When navigating to Content & Data > Web Content there is a prolonged page loading time when there is a high volume of web content within a site. Environment Liferay DXP 7.2 Resolution The issue can be resolved by...
Disabling The Default Adaptive Media Images
Issue We see below URLs in the page source code and want to know how to remove them. /o/adaptive-media/image/403687/Preview-1000x0/home.png?t=1567146932300...