From 09ec10032363b9764d497375805b60b467dba2d0 Mon Sep 17 00:00:00 2001 From: Anwar khanfir Date: Mon, 23 Feb 2026 15:03:32 +0100 Subject: [PATCH] fix: CSV user import issue if attribute isn't the exact value - MEED-10196 - Meeds-io/meeds#4002 Before this change, create attribute filed which ID is Phone and import csv having telephone attribute, user attribute never displayed on user profile and the Telephone attribute can never be reimported again. To fix this problem, ensured that profile property validation is performed in a strictly case-sensitive way at the application level, independently of the database collation. Now, the system verifies that the imported field name exactly matches the attribute ID before allowing it. After this change, attribute will not be imported if it doesn't exactly match the attribute ID. --- .../social/core/identity/service/UserImportService.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/component/core/src/main/java/io/meeds/social/core/identity/service/UserImportService.java b/component/core/src/main/java/io/meeds/social/core/identity/service/UserImportService.java index d201ab36859..04760196e51 100644 --- a/component/core/src/main/java/io/meeds/social/core/identity/service/UserImportService.java +++ b/component/core/src/main/java/io/meeds/social/core/identity/service/UserImportService.java @@ -553,6 +553,9 @@ protected List computeFields(UserImportResult userImportResult, List computeFields(UserImportResult userImportResult, List 2) { userImportResult.addWarnMessage("ALL", "PROPERTY_HAS_MORE_THAN_ONE_PARENT:" + field); unauthorizedFields.add(field);