Search Results

ナレッジベース 3899
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Random user can check another user's order with the correct channelId and accountId - Headless API
Issue  User can consume the API without applying any sort of content restriction or authorization /o/headless-commerce-delivery-order/v1.0/channels/${channelId}/accounts/${accountNumber}/placed-orders E.g.: If the user passes accountID = 1 as a parameter while they authenticated using...
Database upgrade fails due to missing Kaleo tables
Issue Would like to upgrade the Liferay environment to a later version The upgrade tool is logging the following error: ERROR [main][UpgradeStepRegistratorTracker:193] Failed upgrade process for module com.liferay.portal.workflow.kaleo.service...
java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy cannot be found when blob column is used in service builder
Issue I use a blob column type in service builder. On deployment i get Caused by: java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy cannot be found Environment 7.4 Resolution Add the followings to your portal-ext.properties:...
Sync and AsyncExportImportLifecycleMessageListener unsatisfied references
Issue When you execute the command ds:unsatisfied in the Gogo Shell, you get this output: Declarative Service {id: 2457, name: com.liferay.exportimport.lifecycle.SyncExportImportLifecycleMessageListener, unsatisfied references: {name: _destination, target:...
"No CommerceChannel exists with the key" when starting Liferay
Issue After upgrading from Portal 6.2 to DXP 7.4 Update 66, we see the following error in the log when starting Liferay: ERROR [http-nio-8080-exec-10][MiniCartTag:123] null com.liferay.commerce.product.exception.NoSuchChannelException: No CommerceChannel exists with the key...
User's IP address registered as IP address of web server
Issue After configuring Liferay in a frontend server (e.g., Apache, Nginx) and Load Balancers, when a user logs in, the value of the loginIp column in the User_ table is registered as the same local IP addresses of the Load Balancers instead of the user's own address. The log files of...
Liferay is unable to configure MySQL because of to an authentication error
Issue The issue of being unable to load authentication occurs while configuring the MySQL database with Liferay: java.sql.SQLException: Unable to load authentication plugin "caching_sha2_password" Environment Liferay DXP 7.4 Resolution To overcome this issue, run the MySQL command below:...
Error updating time zone definition - n.f.ical4j.model.TimeZoneUpdater
Issue The following logging error is observed on a regular basis: n.f.ical4j.model.TimeZoneUpdater - Error updating timezone definition java.net.ConnectException: Connection timed out (Connection timed out) How can this Liferay server-side request be disabled? Environment DXP 7.0+...
Taglib throws an exception after redeploy the JAR file
Issue The taglib throws the freemarker.template.TemplateModelException error after redeploying the JAR file. Steps to reproduce: 1. Start the server 2. Navigate to Site Menu> Content & Data > Blogs 3. Create a new Blog, navigate to Site Menu > Design > Templates > Widget Templates 4....
Deploying a Portlet to Liferay 6.2 on Tomcat 8, causes listerner tags in Web.xml of portlet to change to Context-param tags
Issue Deploying a portlet developed for Liferay 6.2 on Tomcat 7, on a Liferay 6.2 instance running on Tomcat 8 causes the portlet's web.xml file to reflect the following changes:  The web.xml before it is deployed had the following listener tags <listener>...
Firewall blocks URI for reserved characters
Issue URI contains reserved characters such as "$" and certain firewall rules block these URI's. Environment DXP 7.4 Resolution Many URL schemes reserve certain characters for a special meaning. However, this is not true for reserved characters: Encoding a character reserved for a...
OutOfMemoryError on startup when there are a lot of very large FragmentEntryLinks
Issue Liferay takes a very long time to startup, and throws the following Heap Space error: ERROR [Framework Event Dispatcher: Equinox Container: d97119a4-f960-4e1c-839b-88c78fbc6cc6][Framework:93] FrameworkEvent ERROR java.lang.OutOfMemoryError: Java heap space at...
"Portlet must not be null" error during upgrade
Issue You might encounter an issue where you face an error during upgrade such as follows: 2023-03-29 08:09:14.891 ERROR [Framework Event Dispatcher: Equinox Container: 6a56b6f1-2524-4207-a9fb-dfe9b3dab41e][Framework:56] FrameworkEvent ERROR java.lang.IllegalArgumentException: Portlet...
java.sql.BatchUpdateException: Duplicate entry errors
Issue Duplicate entry error when switching from Hypersonic to MySQL using the setup wizard Steps to reproduce 1) Start portal with hypersonic 2) In Setup Wizard, add test@liferay.com as an email 3) Click to change the default database 4) Change database type to MySQL 5) Change username...
User clicks not tracked correctly
Issue The number of hits goes up by 2 Steps to reproduce: 1) Add "live.users.enabled=true" to portal-ext.properties and start portal 2) Navigate to Control Panel > Monitoring 3) View the number of hits 4) Refresh the page (should count as one click) 5) the number of hits goes up by one...
Web content with special characters in their title, their friendly URL is populated with C% code
Issue The Friendly URL presented when editing a Web Content is displayed with C% code in the special characters, making it difficult to forward that URL. Environment Liferay DXP 7.4 (equal to or below Update 40) Resolution Upgrade to Liferay DXP 7.4 Update 41 or higher to resolve the...
java.lang.ClassCastException: class javax.mail.Session cannot be cast to class javax.mail.Session error when configuring email delivery using JNDI
Issue We have configured email delivery using the application server JNDI mail resource, adding the following property to the portal-ext.properties file mail.session.jndi.name=mail/Session  We followed this Liferay documentation to configure it: Alternative Email Configuration Methods -...
Exceptions from class "freemarker.core.FMParser$LookaheadSuccess" when using java mission control while doing perfomance analysis
Issue We are doing a performance analysis using Java Mission Control and while checking the errors tab we see a lot of exceptions coming from freemarker.core.FMParser$LookaheadSuccess class Environment Liferay DXP 7.3 Resolution If those errors only arise while doing a recording with JMC...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v5_2_2.DLFileEntryDDMFormInstanceRecordUpgradeProcess
Issue During the upgrade process from DXP 7.3 to DXP 7.4, a NullPointerException is being reported with the following stack trace: 2023-04-04 17:03:17.835 INFO [main][UpgradeProcess:145] Failed upgrade process...
Fragment's Edit/Update Date Isn't Getting Updated
Issue When making edits to fragments and publishing those fragments, the "Modified time" of the fragment is not updated accordingly. Steps to Reproduce: Navigate to Design > Fragments Add a Fragment Collection and create two new fragments in the new Collection After 3-5 minutes, edit the...
Saving Site Settings - Languages takes a long time
Issue The issue can be reproduced with the following steps: 1. Go to configuration then select site setting. 2. Select Define a custom default language and additional available languages for this site. 3. Click on save. Result: It takes a long time to complete saving the changes.  ...
Navigating to URL after setting Redirect Pattern is giving 404 error
Issue When Redirect Pattern is defined such as below to redirect pages, navigating to the URL gives 404 error instead of redirecting properly. Environment DXP 7.4 u65 and lower Resolution By default, patterns defined with / in the front should automatically update to start with ^/...
Adding and deleting a Fragment before publishing the page still count
Issue The issue can be reproduced with the following steps: 1. Add a new Fragment Sets. 2. Add a new Basic Fragment. 3. Create a Content Page. 4. Add the newly created fragment to the Page and delete the fragment from the page (DO NOT PUBLISH the page) Actual Result: Go to Fragments and...
Portal getting slow/down frequently
Issue Liferay portal gets too slow or down frequently and below threads are observed in the thread dumps: at java.util.regex.Pattern$BnM.match(Pattern.java:5483) at java.util.regex.Matcher.search(Matcher.java:1248) at java.util.regex.Matcher.find(Matcher.java:637) at...
After changing the default language of a site I can no longer create objects
Issue Changing the default language on a site leads to an error when creating an object. The UI shows this error: Unexpected token '<',"<!DOCTYPE "... is not valid JSON Environment Liferay DXP 7.4 Resolution This issue is being addressed by LPS-164070. Please update to Liferay DXP 7.4...
How to stop generating the redundant logs in {liferay_home}
Issue Liferay logs are generated in multiple locations: Users want to stop generating redundant logs in multiple locations. {liferay_home}/tomcat/logs/catalina.out {liferay_home}/logs/liferay.xyz.log {liferay_home}/logs/liferay.xyz.xml Users want to remove historical logs from the...
Frontend server or load balancer IP is displayed in the HTML source code of Liferay pages
Issue We have detected that if you go to the "view page source" option, open the HTML source code of any Liferay page and search the getRemoteAddr text, you will see the internal frontend server (Apache, Nginx) or load balancer IP on a javascript code. How can I remove this IP...
Headless API returns BAD REQUEST when a friendlyURL contains a forward slash
Issue The Headless API returns "HTTP Status 400 - Bad Request" when a / is included in a friendly URL The error can be thrown using these steps: - Login to Liferay as Admin - Go to the headless API page: http://localhost:8080/o/api - Locate getSiteSitePage API - Fill the parameters of...
Widget Configuration is not visible with custom theme
Issue Steps to Reproduce: Generate a theme with Liferay theme generator. Start the bundle and log in as admin. Deploy the created theme. Add a widget page and drop an out-of-the-box widget on it. Apply the theme to the page. Edit the page and click on the three dots in the top right...
DL Reference Observed When Publishing Web Content to a Live Site
Issue When publishing web content to a live site, the following DL Reference may be observed: $dl-reference=/group/123456/com.liferay.document.library.kernel.model.DLFileEntry/123456789.xml$ The root cause of this behavior deals with the JournalArticleExportImportProcessorCache, which...
org.jdom dependency can not be resolved in custom development after Liferay DXP 7.3 U10
Issue If you have a dependency of org.apache.velocity, version "1.6.4.LIFERAY-PATCHED-1" (or 2) in a custom development, org.jdom package is not going to be resolved on deployment time after upgrading to Liferay DXP 7.3 U10 or higher version. Environment Liferay DXP 7.3 U10 or higher...
Compilation error in unschedule job
Issue Custom development not compiling due to arguments mismatch in Unschedule method: Compilation failure: method unschedule in interface com.liferay.portal.kernel.scheduler.SchedulerEngineHelper cannot be applied to given types; [ERROR]   required:...
Asset Publishers on Content Pages show error messages in the remote live server
Issue Asset Publishers on Content Pages show error messages in the remote live server. This issue appears in a multi-server environment where a site is configured for remote staging AND the live servers are clustered. Example of error message: [FragmentRendererControllerImpl:106] [Unable...
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" after upgrading to a new 7.4 Update version
Issue After upgrading from DXP 7.4 Update 55 to Update 58, exception java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" is thrown during Liferay startup 2023-02-28 12:15:02.136 ERROR [main][DBUpgrader:79] null java.lang.RuntimeException:...
Maximum Days to Display option not working as expected in Calendar event
Issue Steps to Reproduce: 1) Start a Liferay bundle 2) Add Calendar portlet to a page. 3) Go to Configurations of calendar portlet. 4) Go to display settings and do the following settings. i) Enable only the Agenda view ii) Select “Maximum Days to Display” as 0 iii) Select “Maximum...
The webapps folder is re-created
Issue We have moved the $CATALINA_HOME/webapps folder to a separate partition. We have updated the appBase attribute to point to the new directory, and have deleted the original webapps folder under $CATALINA_HOME. We are able to restart the application and it is working as expected....
Task scheduler extending BaseMessageListener not working after restart
Issue A task scheduler component extending BaseMessageListener works correctly when deployed to Liferay. When the server is rebooted, though, the task is not registered and it won't be executed. Environment Liferay DXP 7.4, 7.3 Resolution A task scheduler usually makes use of a...
The Layout Page Template Entry Widget Page Template Name could not be imported
Issue A page template cannot be imported Steps to Reproduce: 1) Create a site named 'Test Site 1' 2) In Test Site 1, Design -> Page Templates -> Page Templates, create a new set. 3) Under the set, create a widget page template. 4) Export the site. 5) Create another site and import Test...
Unable to create message factory for SOAP
Issue When attempting to implement a soap client to call remote soap services, the following error occurred: Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Unable to create SAAJ meta-factory: Provider...
ConnectionPoolTimeoutException: Timeout waiting for connection from pool exception when using HttpUtil.URLtoString method from a custom development
Issue We are using Liferay URLtoString  method from  com.liferay.portal.kernel.util.HttpUtil in our custom development to call an external web service We are getting ConnectionPoolTimeoutException: Timeout waiting for connection from pool  exception when our custom development calls the...
The exception "java.lang.NoClassDefFoundError: aries/base/Parameter" occurs after upgrading from 7.3 GA1 to 7.3 Update 21
Issue I am seeing this error after upgrading Liferay 7.3 GA1 to 7.3 Update 21 with WebLogic 12c R2 java.lang.NoClassDefFoundError: aries/base/Parameter   Environment DXP 7.3   Resolution Update the portal property module.framework.properties.org.osgi.framework.bootdelegation with the two...
Unable to sort the entries by using the External Reference Code
Issue It's not possible to sort the entries by using the External Reference Code Steps to Reproduce: 1) Create an object 2) Create Field text 3) Navigate to View tab > Create a Custom View > Mark as default 4) Navigate to the View Builder tab > Add all columns 5) Now, go to Default Sort...
The mandatory field Language of object is empty and is possible to save the changes
Issue Why it is possible to save the mandatory Language field without any value? Steps to reproduce: 1) Navigate to Control Panel > Object > Objects 2) Create a custom Object 3) Create a Text field 4) View this field 5) Change the type from Text to any type not related to the text (e.g....
Receiving NoSuchMethodError on DLAppService.AddFileEntry function
Issue Using the following method, to add file entries to the portal, at deployment: addFileEntry(   String externalReferenceCode, long repositoryId, long folderId,                 String sourceFileName, String mimeType, String title,                 String description, String changeLog,...
WYSIWYG editor in custom jsp is not working
Issue Adding a WYSIWYG editor to a portlet by following this document is not working with the below error 2023-01-02 10:04:42.080 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /announcements generates exception: java.lang.UnsupportedOperationException: Requires 3.0 opt-in...
com.liferay.petra.process.ProcessException: java.io.IOException: Broken pipe error during indexation process
Issue We have configured the text extraction functionality in an external process using the configuration: text.extraction.fork.process.enabled=true text.extraction.fork.process.mime.types=application/x-tika-ooxml,application/pdf But when we try to execute a reindexation process, the...
Unable to define the searchable option with new objects fields
Issue Unable to configure the searchable options of new fields added to an object after it has been published. Steps to reproduce: Create an object: 'Pets' Add a new field: 'petName' (Text, indexed as text) Publish the Pets object definition Try to add a new field: description Observed...
Unable to Publish Object Definition Relationships after Importing
Issue The user is not able to publish Object Definition relationships after importing them Steps to reproduce: 1) Navigate to the Applications Menu -> Control Panel -> Objects 2) Import one Object Definition with a relationship 3) Public first Object Definition 4) Public the second one...
Options missing in portlet menu when using theme generator generated theme
Issue When using a base theme generated by the theme generator following the steps listed here, the portlet menu only displays "Permissions" and "Configuration Templates". Environment Themes generated for Liferay 7.4 using version 10.x.x of the Theme Generator Resolution Open the theme...
Upgrade error "Column AssetEntries_AssetCategories.ctChangeType already exists with different type than BOOLEAN" occurs with Oracle 19c database
Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any implementation of these principles will be at your team's discretion. Issue The following error...
Hypersonic Database Error - org.hsqldb.HsqlException
Issue We are testing in a new environment and are seeing the following error in the log: ERROR [Portal Dependency Manager Component Executor--2] [UpgradeStepRegistratorTracker:184] Failed upgrade process for module com.liferay.asset.display.page.service...
Error when we create a site with Minium template
Issue When creating a new Site using Minium template, the following stack trace is seen in the logs: 2022-09-22 13:06:24,120 main ERROR Could not create plugin of type class com.liferay.petra.log4j.internal.CompanyLogRoutingAppender for element CompanyLogRouting:...
How to fix the error: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true"
Issue When starting one Liferay node, the following error is written to the log file: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true". The Liferay server is using the "Advanced File System Store", adding this property to the...
Non logged in users can see the permission portlet
Issue Non logged in users can see the permission portlet via a certain URL Environment Liferay DXP 7.2 Resolution Remove com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet from the default property portlet.add.default.resource.check.whitelist by adding the...
Creating a notification template throws a SQLSyntaxErrorException: Unknown column 'notificati0_.classNameId' in 'field list'
Issue When I attempt to create a notification template, the creation fails and I see a SQLSyntaxErrorException: Unknown column 'notificati0_.classNameId' in 'field list'> in the logs. I recently updated Liferay to U51, U52, or U53 Environment DXP 7.4 U51, U52, or U53 Resolution To...
Endpoint doesn't work if I use the path specified in /api/jsonws page
Issue When we open the /api/jsonws page in Liferay and would like to use any endpoints that are namespaced, nothing happens This means that all endpoints that are not under the context name of "portal" are namespaced, for example: namespaced:...
Broken pipe message in the log when opening Liferay for the first time
Issue Opening Liferay in the browser after removing the osgi/state folder (due to patching best practices) shows the following error message in the log: 2020-04-01 03:54:29.581 ERROR [http-nio-9080-exec-6][JDBCExceptionReporter:234] integrity constraint violation: unique constraint or...
Alter published Object on Oracle DB
Issue Once an object has been published, it's not possible to alter the object when using Oracle DB. Environment DXP 7.4 Resolution To resolve this behavior, update your installation to 7.4.13 DXP U47, or open a help center ticket to request a hotfix containing LPS-161987, content:...
Asset Libraries throw warnings after upgrade from DXP 7.3
Issue During or after upgrade from DXP 7.3 the following output is visible in the log: WARN [Portal Dependency Manager Component Executor--1][BasePortletIdUpgradeProcess:511] null java.sql.SQLIntegrityConstraintViolationException: Duplicate entry...
Can I change the permission for Liferay logs?
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 {LIFERAY_HOME}Liferay logs are output under /logs/, but I want to change...

該当件数: 3,898 件中 3,121 - 3,180