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

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


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

commit 1d3108472cb4e61405f7a77eb4c5ae30575f19e5
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 662cd85017..2d6be51914 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
@@ -165,7 +165,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