Search Results

Knowledge Base 3694
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
The "Private Pages" menu can not be removed even after removing all private pages
Issue After removing all of the private pages, the "Private Pages" menu remains. Environment Liferay DXP 7.1 dxp-18 or before Resolution One possible reason is that the "content page" was created before under Private Pages. The issue is fixed in dxp-19 or later FP versions. Additional...
How to search using JournalArticleLocalServiceUtil and sort by title?
Issue When using the JournalArticleLocalServiceUtil class to search for web contents, we are facing the following issues It is not possible to sort by title, since its localization is being stored in the table JournalArticleLocalization and the comparator is not considering it When...
Live site is not editable after Staging site was removed.
Issue How to recover the default functions on the Live site if your remote Staging site was either deleted or not disabled correctly? Environment Liferay DXP 7.2 Resolution By running a groovy-script the Live site's default functions can be enabled. Before going further, please create a...
Liferay PaaS - Liferay Service fails to start due to wrong Dynatrace credentials even if they are not set
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 starting the liferay service, the container will fail to start with this error: liferay[liferay]...
Unable to embed videos in Knowledge Base articles with the
Issue After publishing a new Knowledge Base article including a video embedded with the <video> HTML5 tag: <video controls="" height="240" width="320"><source src="/documents/20142/0/file_example_MP4_480_1_5MG.mp4/b32bbabe-2df3-5229-7ca8-39e5dfd98fa5" type="video/mp4" /></video> the...
Temp files in /tomcat/temp/liferay/s3 are kept for 7 days
Issue Temp files are created in the /tomcat/temp/liferay/s3 directory when we upload documents These files are kept for 7 days, resulting in a lot of extra disk space being taken up Environment Liferay DXP 7.1+ Amazon S3 Resolution The length of time these files are kept in the cache can...
Why Are Announcements Visible to Everyone After Setting the Distribution Scope?
Issue After setting the distributions scope in the Announcements Portlet, the announcements which it displays are now visible to all users and guests. I would like to restrict the announcements to the users within their distribution scope. Environment DXP 7.0 DXP 7.1 DXP 7.2 Resolution...
Liferay DXP 7.0 Theme Generator installation fails with Missing required argument #1 | EMISSINGARG
Issue While following the Liferay documentation about 7.0 DXP theme building with the Theme Generator, the following error will be thrown on Terminal when running npm install -g yo gulp: npm ERR! Windows_NT 10.0.17134 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program...
Push notification API unable to register
Issue When trying to register a device through the Liferay Push, the following error will be received: error: com.liferay.portal.kernel.jsonwebservice.NoSuchJSONWebServiceExceptio LRPush Error Error Domain=com.liferay.mobile.sdk Code=2 "No JSON web service action with path...
ClassCastException on com.liferay.frontend.theme.contributor.extender after installing a newer fix pack
Issue After patching the environment with a newer fix pack, the below error may be encountered at server startup: ERROR [ServerService Thread Pool -- 68][ThemeContributorTopHeadDynamicInclude:93] bundle com.liferay.frontend.theme.contributor.extender:4.0.8...
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 [liferay/scheduler_dispatch-4][ElasticsearchIndexSearcher:169] java.lang.ClassCastException:...
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 writing document id...
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 administrator can successfully export a set of public or private pages, they...
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 appended with some locales like FI, ES, and others. Environment Liferay DXP...
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 logs in the Identity Provider as well as the Service Provider,...
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 resolution with the properties width: 600px, height: automatic Adapt the 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 release, kindly open a Help Center ticket and we will refresh the system...
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", "javax.portlet.name=com_liferay_journal_web_portlet_JournalPortlet",...
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 FP18+/SP5+ Liferay DXP 7.2 FP6+/SP2+ Resolution The behavior originates from an...
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 issue is due to a portal property that controls the interval in which...
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 console upon switching the language: combo?browserId=othe…get-position.js:173...
"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 System settings, OR When the site language is different than the default instance...
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 The order of the Web Contents is based on the dates provided in the Date...
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 for field Numeric is invalid. Environment Liferay DXP 7.2, with dxp-8 or older....
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 be downloaded from the marketplace. After deploying the Sharepoint...
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 example of a web content that needs to be edited but its contents are disabled: We can...
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 left-handed sidebar on a PRD environment, the backup service will not appear...
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:   build/_css/mystyle.scss Error: It's not clear which file to import for '@import...
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 permission set earlier for the content itself. Environment Liferay DXP 7.0...
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 'buttonStyle'. Expected one of the following values:...
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 will be copied alongside and will show when switching to the source mode:...
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 7 connector cannot be activated: 2020-09-14 14:39:47.023 ERROR...
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 cannot be activated: 2020-09-14 14:50:05.923 ERROR [Framework Event...
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" defaultPreferences=freeMarkerPortletPreferences.getPreferences(preferencesMap)...
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 will be shown: Environment Liferay DXP 7.0+ Resolution The current issue has...
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 publishing from Staging to Live. As part of that fix permissions for web content...
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 configuration. The Web Content Article: Article1 has missing reference(s) that could not be...
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 = UserLocalServiceUtil.getUser(userId); However, after patching to DE-93 from...
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 use case is caused by LPS-67368 missing a cleanup step (layout typesettings are not...
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 in the portal Environment Liferay DXP 7.2+ Resolution The fragment.json files are...

Showing 2,121 to 2,160 of 3,693 entries.