Search Results

ナレッジベース 3693
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
"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:...

該当件数: 3,692 件中 3,121 - 3,160