This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
     new c321995515 [SYNCOPE-1858] Define dropdown form property without 
default value on a macro   (#970)
c321995515 is described below

commit c321995515d098d6e4dbe5f15a1087d180b51660
Author: alberto bogi <[email protected]>
AuthorDate: Wed Jan 29 15:58:06 2025 +0100

    [SYNCOPE-1858] Define dropdown form property without default value on a 
macro   (#970)
---
 .../org/apache/syncope/client/ui/commons/panels/SyncopeFormPanel.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/panels/SyncopeFormPanel.java
 
b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/panels/SyncopeFormPanel.java
index 24b2dfa27b..134a03c73c 100644
--- 
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/panels/SyncopeFormPanel.java
+++ 
b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/panels/SyncopeFormPanel.java
@@ -166,7 +166,7 @@ public class SyncopeFormPanel<F extends SyncopeForm> 
extends Panel {
                                 public List<String> getObject() {
                                     return 
Optional.ofNullable(prop.getValue()).
                                             map(v -> List.of(v.split(";"))).
-                                            orElse(null);
+                                            orElse(List.of());
                                 }
 
                                 @Override

Reply via email to