Capability

Digital Asset Management

Liferay’s Digital Asset Management (DAM) tools simplify the organization and management of digital assets. Assets include images, videos, presentations, documents, and much more. Additionally, the Asset Library feature enables you to manage and publish assets in one central repository for use across multiple distinct sites.

Feature
Deployment Approach
SSL Exception with MySQL and JDK 11
Issue After starting Liferay with MySQL and JDK11, and after waiting for some time, the following traces might occur: ** BEGIN NESTED EXCEPTION ** javax.net.ssl.SSLException MESSAGE: closing inbound before...
Why does the liferay.cloud certificate appear when making curl/wget requests to the Load Balancer IP address?
Issue When running a curl or wget command against the Load Balancer IP that can be seen at Network > Endpoints > Ingress endpoints, the 'certificate common name' will resolve to liferay.cloud: $wget...
Deployment of Ext-plugin module
Issue Below exceptions are occurring while deploying "Asset Publisher Web Module" ext-plugin...
Change in "view in context" URL for document file entries
Issue Why does the Search Results Portlet display a different "view in context" URL for document file entries after upgrading to dxp-15? Environment DXP 7.2 with dxp-15+ Resolution Up until dxp-14, the URL format...
LPKG Index Validation takes too long and ends up in out of memory error
Issue When we start our test server with -Xmx1024Mb after applying a new patch, the LPKG Index Validator is running too long and we are getting GC overhead exception, ending up in OutOfMemoryError: WARN [HikariPool-1...
Can I Manually Execute Quartz Schedulers From the UI?
Issue I would like to trigger Quartz Scheduler jobs manually from the UI in case they ever miss a scheduled job. Environment DXP 7.0 DXP 7.1 DXP 7.2 Resolution Liferay does not currently have a feature for...
Portlet Management in a clustered Liferay DXP using WebLogic
Issue How can I manage portlets in a clustered Liferay DXP environment using WebLogic?    Environment Liferay DXP 7.x WebLogic   Resolution Since Liferay DXP 7.x, you will have no access to any modules deployed within the...
How to decide which Liferay DXP image from Docker Hub to use with 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 Now that the Liferay DXP image for a Liferay PaaS environment...
How to update our Tomcat server?
Issue We've found a security issue in our current Tomcat server version The issue has been fixed in the latest version of Tomcat Does Liferay provide a fix for the issue? If not, how can we upgrade our...
Searching with JournalArticleLocalServiceUtil class for "xml" returns all contents
Issue When using the JournalArticleLocalServiceUtil class to search for web content articles, it is considering the xml tags of the field content. So if we search for "xml", it returns all the web content articles....
Login fails in local environment.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
How HTTP cookies are being used in Liferay DXP 7.0+
Issue How are the cookies being used in Liferay DXP 7.0 (and above)? Tested Environments Liferay DXP 7.2 Liferay DXP 7.1 Liferay DXP 7.0 Resolution GUEST_LANGUAGE_ID: In 7.0+, used to...
"Unable to deploy LPKG file ..." errors after making environmental changes
Issue When freshly downloading a bundle, starting it up with Hypersonic database, stopping it, configuring a different database in the portal-ext.properties file then starting the portal again there are...
Config file deployment with values in special Unicode characters are not visible properly in User Interface
Issue When exporting some settings from Control Panel → System Settings, the resulting OSGi config file will be UTF-8 encoded. However, at the next startup, when reading that file, Liferay does not assume that it...
The default Liferay DXP site's name cannot be localized/translated
Issue I am using the default Liferay DXP site, renamed it, but I do not see the language button or an option to add the site name in different languages. Environment Portal 6.2 DXP 7.0+ Resolution The default site's...
Disable Footer Section
Issue How to hide the footer section("Powered by Liferay" section)? Environment Liferay DXP 7.2 Resolution The below steps can be followed to disable the footer section: 1) Go to Site Builder > Pages. 2) Click on the...
Understanding a "There is no order guarantee on which result is returned" Portlet Preferences warning when using embedded Hypersonic
Issue When unzipping and launching a 7.1 SP4 bundle, the following WARN is shown in the logs: 2020-09-30 15:21:30.057 WARN [http-nio-8080-exec-2][PortalPreferencesPersistenceImpl:208]...
[CKEditor] Paragraph tag is appended to content in blogs by default
Issue We are using CKEditor instead of the regular editor. When putting some content into the HTML field while creating blogs <p> and </p> tags are appended by default. We would like to remove these tags or change them...
How to resolve Jenkins failing to build a service in Liferay PaaS with a non-zero exit value of 137
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue When attempting to build a Liferay PaaS service, our Jenkins...
Adjusting Log Levels to persist after portal restart
Issue Log levels that have been adjusted through the Server Administration are reset after a server restart. I'd like the log levels adjustments to persist after restarts. Environment DXP 7.0+ Resolution Adjust log...
Cannot Access Login Portlet After Changing Root Context and Updating Patches
Issue After changing the root context in my Liferay DXP 7.2 instance and installing fix pack dxp-6, the login portlet is grayed out and inaccessible. In the browser console, I see that the root context is doubled...
How to give permission to users to see the title and description of Calendar events?
Issue Unauthenticated users or users with the default User role can not see the title and description of Calendar events  Environment DXP 7.2 DXP 7.1 DXP 7.0 Resolution Log in as your administrator user to Liferay Go...
Component with id [...] is being registered twice console warnings in the browser
Issue We often experience some javascript warning messages when opening different parts of Liferay, e.g. the web content editor They say This can lead to unexpected behaviour in the "Liferay.component"...
Resolving When a .lar File Exported From Asset Publisher is Empty
Issue I exported a .lar file directly from the Asset Publisher using Widget Menu -> Export didn't contain any assets and was only a few kb in size. Our environment is patched to de-92 Environment DXP 7.0 DXP 7.1...
JSPs stop working if their osgi module is restarted and direct.servlet.context.reload property is configured to false
Issue JSPs stop working if their osgi module is restarted and the direct servlet context reload functionality is disabled with the direct.servlet.context.reload=false setting. The issue is also reproduced in case: You...
'Connection reset by peer' when uploading files
Issue You are encountering the following exception in the logs: java.io.IOException: Connection reset by peer Users cannot upload files and errors like the following are printed (some examples): WARN...
Unable to disable the footer option after upgrading to Liferay DXP 7.2
Issue 1) Not able to disable the footer option of the classic theme after upgrading the Liferay 7.0 to Liferay 7.2 2) Steps to reproduce Go to the public page configuration To disable show footer, unchecked show...
Is it possible to change how much memory Gradle uses during a Liferay PaaS build in Jenkins?
Issue Since our Jenkins builds are using Gradle Daemons, we would like to increase the memory available to control how much memory Gradle uses, so that it is increased from this default: org.gradle.jvmargs=-Xmx512m...
Liferay PaaS - DB user doesn't have super privileges for the database service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Liferay PaaS backup service will throw: ERROR 1227...
Groovy Script for deleting users from the database
Directly modifying the database is not advised because we are unable to provide assistance regarding the damage it might do. The suggested approach in these cases is a groovy script that uses Liferay's API....
Java parameter UseContainerSupport doesn't work
Issue We are trying to specify the amount of memory Liferay can use by setting the -XX:+UseContainerSupport property However, it seems to take no effect and we don't see the specified limit shown in the...
Known issue: Error "Invalid version number: Version number may be negative or greater than 255" when starting up Liferay 6.2 using jdk 8u261 or later
Issue The following error was reported when starting up Liferay Portal 6.2 using jdk 8u261 or later Oct 19, 2020 3:02:57 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet...
Remove portlets programmatically with the removePortletId method
Issue I would like to remove portlets from pages programmatically (e.g. with a script or a background job) with the use of the removePortletId method, but without permission checking.  Environment Liferay DXP...
Error "Incorrect string value" in logs when adding emojis to Web Content
Issue When inserting emojis (emoticons) to a Web Content article, the portal fails to add/update the article and an error similar to the one below is shown on logs. 09:33:30.544 ERROR...
Amazon S3 - Report generation leads to multipart upload failed error
Issue Cannot generate reports on Liferay 6.2 and Amazon S3 Hitting multipart upload error when creating CSV file Scenario - With an S3 bucket configured for use and a data-definition in place, we find that when...
Should OSGi config files and the values in the System Settings application always be in sync?
Issue I have a module where I do not want to store sensitive data (eg. password) in the config file I would like to provide this value over the UI in System Settings Is it possible to use a "mixed" approach?...
Content Delivery Network (CDN) configuration "cdn.dynamic.resources.enabled=false" is not working
Issue After setting cdn.dynamic.resources.enabled=false, Liferay is still accessing some CSS and JavaScript from the CDN URLs configured in cdn.host.http= and cdn.host.https= Environment Liferay...
Avoid user login after every session timeout
Issue On every session expire it is asking for user login again Environment Liferay 7.0 Resolution Login after each session timeout is the default functionality of the Liferay portal. In order to avoid login after...
HttpOnly flag in JSESSIONID cookie using JBOSS application server
Issue JSESSIONID cookie does not contain the HttpOnly flag. Environment Liferay Portal 6.2 JBOSS Resolution You need to change it on your application server configuration, in the...
Unable to capture page view data
Issue My script is not working to capture page count metrics Unable to record page count data Only able to capture page views when I refresh the browser When navigating around site pages only the content gets...
Is there any way to retrieve the User account's creator
Issue Is there any way or SQL statement to retrieve the User account's creator? Environment Liferay DXP 7.0 Resolution There have two ways to retrieve the User account's creator. The user account's creator can be...
Unable to restart bundles from GoGo Shell
Issue When running update {Portlet ID} in the GoGo Shell, you get an error on the UI saying the request could not be completed. Environment Liferay DXP 7.2 Resolution This behavior is a known issue when trying to...
How to configure the displayed time zones?
Issue It is widely documented that Liferay does not recommend changing the JVM time zone and that I should leave it as GMT. (See references under Additional Information). But me and my users are from different time...
Staging configuration is incorrect after fix pack update
Issue We have staging enabled for a long time with only the Dynamic Data Lists portlet staged After updating to Fix Pack 61 or above, our staging configuration has changed and shows not only the Dynamic...
How to check the number of retained sessions
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Unicode special characters from a UTF-8 encoded OSGI config file are not properly read
Issue 1. add the osgi config file attached to the osgi/config directory 2. start the liferay server 3. go to system settings to the comments section Expected result: discussionEmailBody property has "Mit freundlichen...
There are more database connections than allowed by jdbc.default.maxPoolSize
Issue The maximum pool size of connections to the database is explicitly limited via the property jdbc.default.maxPoolSize. Nevertheless, the number of connections exceeds this maximum pool size. Environment...
If I change the friendly URL of my site, do I need to modify the link?
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Is Adobe Flash Supported?
Issue Is Adobe Flash Supported? There is no information about it in the Support Matrix. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Resolution We have no official stance on Adobe Flash, it can be...
ETAG response header is missing
Issue ETAG response header is missing on a page. Environment DXP 7.1 Resolution If a page contains at least one non-cacheable portlet, - such as Asset Publisher -, the ETAG response header is not added by design. The...
Implement many-to-many relationship with existing Liferay entities using the Service Builder
Issue I would like to implement many-to-many relationship between my entity and an existing Liferay entity (for example the User table). Environment DXP 7.0+ Resolution Implementing relationships with the...
Issues when working with resteasy-jaxrs dependency on Liferay DXP and Tomcat
Issue While integrating RESTeasy JAX RS dependency in Liferay DXP projects, customers may notice the below messages in the server logs: SEVERE [fileinstall-/home/liferay.com/7.0/osgi/war]...
Getting 400 error code while accessing adaptive media urls using public IP
Issue When accessing adaptive media URL's over public IP eg: http://Public_IP:8080/o/adaptive-media/image/35333/Thumbnail-300x300/url.png?t=1588749467134, the page gets redirected to the home page. While accessing...
Is it possible to hide expired calendar events that are being displayed in an Asset Publisher?
Issue Currently, an Asset Publisher configured to display Calendar Events will always show x number of events, even if the events already occurred in the past. Is it possible to hide these expired events? Environment...
AssetTagException when using special characters in tag names
Issue AssetTagException is thrown when the article gets published, in case special characters are used in tag names. 2020-06-23 07:16:18.168 ERROR [http-nio-10.155.2.197-443-exec-4][PortletServlet:112]...
Unable to set a virtual host
Issue We can't add/update our domain to our site's or instance's virtual host We get the below error on the UI: Please enter a unique virtual host. Virtual hosts must be valid domain names. Environment...
Is there a recommended heap size setting for Tomcat?
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
Can't disable propagation of changes because of modified display settings
Issue When trying to disable the propagation of changes from a site template to my site, the option is not shown, instead there's a message stating: You cannot enable the propagation of changes because...
Is there an Entity Relationship Diagram (ERD) for Liferay DXP?
Issue I'm looking for an entity relationship diagram (ERD) for Liferay DXP Is there a diagram that maps the entity relationships? Environment Liferay DXP Resolution Liferay does not provide an Entity Relationship Diagram The...
Error when executing Groovy script: java.sql.SQLException: Can't call commit when autocommit=true
Issue When a Groovy script with a commit instruction is executed it fails with the error: java.sql.SQLException: Can't call commit when autocommit=true Environment DXP 7.2 Resolution On the portal-ext.properties file...