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

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


The following commit(s) were added to refs/heads/4_1_X by this push:
     new 15112e7aeb [SYNCOPE-2001] Fix for plainAttrs in readonly mode in 
customFormLayout (#1570)
15112e7aeb is described below

commit 15112e7aeb4f3fc097312662c2e6d9ed9e4f00b2
Author: giusmad <[email protected]>
AuthorDate: Tue Oct 13 15:25:13 2026 +0200

    [SYNCOPE-2001] Fix for plainAttrs in readonly mode in customFormLayout 
(#1570)
---
 .../java/org/apache/syncope/client/enduser/panels/any/PlainAttrs.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/panels/any/PlainAttrs.java
 
b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/panels/any/PlainAttrs.java
index cecb9fffbe..58b44f1be5 100644
--- 
a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/panels/any/PlainAttrs.java
+++ 
b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/panels/any/PlainAttrs.java
@@ -422,7 +422,7 @@ public class PlainAttrs extends 
AbstractAttrs<PlainSchemaTO> {
                     }
 
                     AbstractFieldPanel<?> panel = getFieldPanel(schema);
-                    panel.setReadOnly(schema.isReadonly());
+                    panel.setReadOnly(schema.isReadonly() || ((FieldPanel<?>) 
panel).isReadOnly());
                     if (schema.isMultivalue() && schema.getType() != 
AttrSchemaType.Dropdown) {
                         panel = new MultiFieldPanel.Builder<>(
                                 new PropertyModel<>(attr, "values")).build(

Reply via email to