Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
ClassCastException when using Elasticsearch 7
Issue After installing the Elasticsearch 7 plugin and connecting Liferay DXP to an Elasticsearch 7 server, errors like this are thrown on startup: ERROR...
JournalArticle not properly indexed with 'Document contains at least one immense term' error
Issue When attempting to perform a re-index, JournalArticle contents are not properly indexed due to an error similar to the following: For Solr: 2020-09-23 06:32:13 ERROR org.apache.solr.common.SolrException: Exception...
Missing reference errors during site import
Issue Liferay currently only allows export of either Private or Public pages (and not both). When a site has a web content displayed on their public page with a link to a private page, or vice versa, while an...
Disable all locales that are not EN
Issue Asset publishers are being translated to other languages than English which is the default and only one that is desired. For some reason due to the location of the IP/network or browser translation URLs are...
SAML no longer working after upgrading Liferay
Issue After upgrading Liferay from Liferay DXP 7.0 to Liferay DXP 7.2, SAML is no longer working and users are no longer able to authenticate using SAML. It is possible that the following error will also appear in the...
Adaptive Media not applied on Content Pages
Issue I noticed that Adaptive Media is not applied in fragments with an image. Add an image to the Documents and Media Library with a width above 600px Go to Control Panel→Configuration→Adaptive Media Add a new...
What if I cannot find a Fix Pack in Nexus BOM?
Issue I opened the following link: Nexus BOM (Repository Manager) but I cannot find a certain fix pack. Environment DXP 7.0+ Resolution If you find that the Fix Pack is still not available a couple of days after its...
Custom editor configuration is not applied to repeatable fields
Issue After implementing a custom EditorConfigContributor to override the configuration of a web content editor, e.g. as below: @Component( immediate = true, property = { "editor.name=alloyeditor",...
Denied resolving class [...] error is shown in custom FreeMarker/Velocity templates (LSV-658)
Issue Custom FreeMarker and Velocity templates generate the following error after installing a fix pack: Denied resolving class [...] by org.apache Environment Liferay DXP 7.0 FP92+ Liferay DXP 7.1...
Making changes to a Velocity Application Display Template does not update dynamically
Issue When making changes to a Velocity Application Display Template, these changes are not processed and updated dynamically, and are not reflected immediately upon saving. Environment Liferay 6.2 Resolution This...
Embedded Language Selector with "Select Box" template throws "Uncaught TypeError: Cannot read property 'attr' of null" when switching language
Issue When embedding the Language Selector in the theme or a layout template and setting it to have "Select Box" template in the portlet's Configuration settings, the below error will be thrown in the browser's...
"Error: Please enter a valid title." when creating or editing a web content
Issue After updating to DXP 7.2 Fix Pack 7, we can't create or edit web content articles that default language is different than the site's language by enabling the "Changeable Default Language" in the...
Asset Publisher ordering breaks when switching to a non-default language
Issue I created some Web Contents based on a Web Content Structure The structure has a Date field I have an Asset Publisher Widget on the page The Widget is configured to show Web Contents with the above structure...
Can not save a Form after adding a validation rule to a numeric field on a Form with a translation
Issue In forms with a translation, if you add a Numeric field and add a validation rule to this field, you can not save the form. You will see the following message: Error: The validation expression () set...
SharePoint Repository Location
Issue Not able to find the SharePoint Repository Location Environment Liferay DXP 7.2 Resolution To use the Sharepoint the portal should be on fix-pack dxp-4 or above. Also, the Sharepoint plugin is required which can...
Javascript errors and disabled elements when editing or saving Web Contents
Issue When editing or creating new web contents based on a custom structure, the information may be inconsistent, fields may be disabled and non editable, or related errors may be observed. This is an...
Backup service does not show on PRD environment
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 checking all the services available at the...
Gulp build task fails with: "Error: It's not clear which file to import for '@import ..."
Issue After launching a gulp build task, the tool will encounter an error similar to the below: [15:14:33] 'build:compile-lib-sass' errored after 811 ms [15:14:33] Error in plugin 'gulp-sass' Message:  ...
Web Content Display portlet shows content for Guest even when permission is denied
Issue When creating a new web content with permission set to denying access to it for Guests and adding it to a Web Content Display portlet which a Guest can see, the portlet shows the content regardless of the...
How to resolve an "Invalid state passed to 'buttonStyle'" browser console error when using an asset publisher to view Rich Summary content
Issue When using the "Rich Summary" template in an Asset Publisher to view web content, we are seeing multiple warnings in the browser console that look like the following: Warning: Error: Invalid state passed to...
Microsoft Office XML metadata are copied in CKEditor
Issue Liferay content editors and administrators may sometimes notice that, on Firefox ESR, when copying (CTRL+C) and pasting (CTRL+V) the content of e.g. Microsoft Word in the CKEditor, the below XML metadata...
DXP 7.2 Service Pack 3 (SP3)/Fix Pack 8 (FP8) requires Liferay Connector to Elasticsearch 7 v3.1.0 or higher
Symptom When DXP 7.2 is configured with Elasticsearch 7 and your patch level is Service Pack 3 (SP3) or Fix Pack 8 (FP8) or higher, the following error is thrown in the console when starting DXP and the Elasticsearch...
DXP 7.2 Service Pack 3 (SP3)/Fix Pack 8 (FP8) requires Liferay Connector to Solr 7 v2.1.0 or higher
Symptom When DXP 7.2 is configured with Solr 7 and your patch level is Service Pack 3 (SP3) or Fix Pack 8 (FP8) or higher, the following error is thrown in the console when starting DXP and the Solr 7 connector...
In DXP, it is not possible to differentiate configuration per site on embedded portlets
Issue In DXP, a portlet could be embedded like below: <#assign preferencesMap = {"portletSetupPortletDecoratorId" : "barebone"} /> <@liferay_portlet["runtime"] instanceId="1234"...
Navigation Menu portlet won't list child of child pages
Issue While using any Navigation Menu portlet template different from the "List Menu" one (for example: Bar Minimally Styled), in a long page tree with multiple children pages, like: Only Welcome and Level1page...
Guests can no longer see web content articles
Issue After updating a Liferay DXP 7.2 server to dxp-5+ and publishing content Guests no longer see web content articles. A fix, LPS-106146, was introduced in dxp-5 that addressed a permissions error when...
Export of site fails with NoSuchTemplateException
Issue We want to export our site into a LAR file, but it fails with the below error on the UI: An unexpected error occurred with the publication process. Please check your portal and publishing...
Cannot Request Users With long userid After Patching to DE-93
Issue We use this code to secure our API calls in our customization: (request variable is an HttpServletRequest object from @Context annotation) long userId = GetterUtil.getLong(request.getRemoteUser());  user =...
Changing layout's type removes portlet preferences
Issue Changing our page's type from "Layout" to "Link to URL" then back to "Layout", the page won't retain its portlets configuration Environment Liferay DXP 7.0 with Fix Pack 93 or below Resolution The...
Contributed Fragment Collection's content is not correct after deployment
Issue We have created a Contributed Fragment Collection, carefully following the documentation The collection contains two fragments After successful deployment, we see only one fragment is present twice...
Handling Freemarker Template Errors in the UI
Issue Liferay renders Freemarker Template errors in the UI, particularly when a Web Content template references a non-existent value from a Web Content structure. This can potentially cause confusion or negative user...
Locale exceptions
Issue After upgrade, from Liferay 7.0 to Liferay 7.2,  facing the issue when trying to disable any option in public page configuration. The below exception is observed...
How to Resolve Commas Automatically Inserted Into Web Content When Using the Integer Structure
Issue When editing previously published web content which was made using the integer structure, commas are automatically inserted into the integers. This prevents the content from publishing. Environment Liferay...
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...
Can not change virtual host from an existing virtual instance
Issue After editing the virtual host field from an existing virtual instance, the new value suddenly disappears after clicking on Save button.  Environment Liferay DXP 7.2, fix pack dxp-5 or higher Resolution...
Cannot deploy themes using the `themes` folder
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Your themes (.war files) on the themes folder are not...
Invalid CSRF Token warnings
Issue Invalid CSRF Token warnings appear in the logs, if portlet.url.anchor.enable=true is set in portal-ext.properties. User 20127 is not allowed to access URL http://localhost:8080/web/guest/home and...
How to resolve "Unable to validate referenced file entry" UI errors preventing Web Content from being updated
Issue When trying to update a previously published web content article, clicking the Publish button results in an error message in the UI like the following: Error: Unable to validate referenced file entry because it...
RSS Publisher portlet on Widget Pages can be refreshed by guest users
Issue RSS Publisher portlet on Widget Pages can be refreshed by guest users. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution Add an RSS publisher portlet to Wiget Page...
Deploying Liferay SAML Connector in Liferay SaaS
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After deploying the SAML connector plugin from...
Liferay is unable to find a PostgreSQL database after restoring it from a dump or backup
Issue Liferay is unable to find a PostgreSQL database after restoring it from a dump or backup Liferay appears to be creating new data when connected to the restored PostgreSQL database A blank (i.e., default Liferay) site...
How to configure validation directives in AntiSamy
Issue When trying to import content between sites, i.e. knowledge base, a validation error arises: An unexpected error occurred with the publication process. Please check your portal and publishing configuration....
DevTools failed to load SourceMap: Could not load content for popper.min.js.map on Chrome browser
Issue While using a production instance of Liferay, the below warning will appear in the Chrome console: DevTools failed to load SourceMap: Could not load content for...
Can not add images in a Paragraph fragment of a Content Page
Issue It is not possible to link an image in the rich-text editor of a Paragraph fragment in a content page.  Environment Liferay DXP 7.2 fix-pack dxp-6 or older. Resolution This is a known and fixed bug....
Reindexing on Elasticsearch is slower than it was on an earlier patch-level
Issue We recently installed fix pack 16 on DXP 7.1, and we noticed that now re-index is really slow compared to fix pack 11, our previous patch-level. We found that both liferay indexes (liferay-0 and...
Jenkins builds are failing due to "Cannot run program ./gradlew" error
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Builds on Jenkins are failing due to the following...
Why am I not receiving Liferay security bulletin emails?
Liferay Support sends security bulletin emails to all customers with an active Enterprise Subscription. These notifications include critical information on potential security...
Errors occur after Liferay Faces upgrade
Issue After the upgrade of Liferay Faces (by updating the given versions in dependencies shown in the provided screenshots), the following error occurs logs: javax.el.ELException: Function 'p:component' not found...
Unable to import User Groups from LDAP containing a comma "," or an asterisk "*"
Issue Receiving the following error when trying to import User Groups from LDAP containing a comma "," or an asterisk "*": 2020-06-04 08:23:50.268 WARN [main][LDAPUserImporterImpl:1165] Unable to create user group...
Web Content validation is not working on mandatory field
Issue Web Content validation is not working on the mandatory field. Steps are as follows: 1. Create a new Web Content structure with an Image field. 2. For Image field: change "Required" & "Repeatable" to Yes. 3. Create...
Why does it take so long to save a Web Content article?
Issue When we try to Publish (save) a Web Content article it takes several minutes. Environment Liferay DXP 7.2 Resolution By default when a Web Content article is saved within Liferay DXP 7.2 all versions of the...
Cannot import an individual page template
Issue We have exported a page template through the template's context menu -> Export When we try to import it to another page templates, it fails and throws the below error: Please import a LAR file of...
External Elasticsearch server is not available and control panel is inaccessible
Issue The external Elasticsearch server configured for Liferay DXP is no longer available Liferay cannot be set to use the embedded Elasticsearch server because the Control Panel is showing a blank...
Content is not visible after an upgrade
Issue After our migration (upgrading to a newer version of Liferay) we cannot see our pages / web contents / templates When we create a new one, we see it gets created in the database but we don't see it...
Pagination not working in 7.2 Fix Pack 5
Issue When navigating to another page of a portlet (such as Asset Publisher) using the dropdown, user is redirected to another page with a "The requested resource could not be found" error. Environment DXP 7.2 Fix Pack 5...
Site export (or staging enabling) fails with "missing reference(s) that could not be found during the process."
Issue I am exporting a site and it fails with an error like "The Dynamic Data Mapping Template (Automatic Copy): Service Menu has missing reference(s) that could not be found during the process." and a stack trace like in...
Search portlet temporarily unavailable due to ClassCastException
Issue In DXP 7.0 with Elasticsearch 6, when using the search portlet, it becomes temporarily unavailable and the following stacktrace is seen in the logs. Caused by: java.lang.ClassCastException:...
Can't enable staging because the propagation of changes is enabled
Issue When trying to enable Staging for a site the page is blank with the following message on the top: Warning: Staging cannot be used for this site because the propagation of changes from the site...
I cannot sync my Contacts to Analytics Cloud
Issue I connected Liferay DXP and Analytics Cloud successfully In Analytics Cloud I navigate to "Configure Data Source" I selected the Sites and Users to sync The process gets stuck at "Syncing - 50.00% Completed"...
Changing password forces users to log in again
Issue Changing password invalidates current sessions and the users have to log in again. 2020-02-07 13:08:37.558 ERROR [http-nio-8080-exec-2][PortletServlet:112] javax.portlet.PortletException:...