From 792cf2da6c675bc638c46af63c1bb6f88ad26fd5 Mon Sep 17 00:00:00 2001 From: Eudaldo Alonso Date: Thu, 15 Aug 2024 13:19:20 +0200 Subject: [PATCH] LPD-31506 Extension already include "." --- .../liferay/layout/internal/importer/LayoutsImporterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apps/layout/layout-impl/src/main/java/com/liferay/layout/internal/importer/LayoutsImporterImpl.java b/modules/apps/layout/layout-impl/src/main/java/com/liferay/layout/internal/importer/LayoutsImporterImpl.java index 4be4720affbb51..6bd17237bae8db 100644 --- a/modules/apps/layout/layout-impl/src/main/java/com/liferay/layout/internal/importer/LayoutsImporterImpl.java +++ b/modules/apps/layout/layout-impl/src/main/java/com/liferay/layout/internal/importer/LayoutsImporterImpl.java @@ -877,7 +877,7 @@ private long _getPreviewFileEntryId( ServiceContextThreadLocal.getServiceContext()); } - String imageFileName = classPK + "_preview." + thumbnail.getExtension(); + String imageFileName = classPK + "_preview" + thumbnail.getExtension(); FileEntry fileEntry = _portletFileRepository.fetchPortletFileEntry( groupId, repository.getDlFolderId(), imageFileName);