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

commit f8a6b6c972b5b60584475437c10df1e699b1bcee
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Thu Mar 10 08:30:29 2022 +0100

    [SYNCOPE-1659] Fixing issue introduced by d2524ea for SYNCOPE-1392
---
 .../syncope/core/provisioning/java/data/SchemaDataBinderImpl.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/SchemaDataBinderImpl.java
 
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/SchemaDataBinderImpl.java
index 6fabaed..702d322 100644
--- 
a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/SchemaDataBinderImpl.java
+++ 
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/SchemaDataBinderImpl.java
@@ -323,7 +323,7 @@ public class SchemaDataBinderImpl implements 
SchemaDataBinder {
     protected VirSchema fill(final VirSchema schema, final VirSchemaTO 
schemaTO) {
         schema.setKey(schemaTO.getKey());
         schema.setExtAttrName(schemaTO.getExtAttrName());
-        schema.setReadonly(schema.isReadonly());
+        schema.setReadonly(schemaTO.isReadonly());
 
         labels(schemaTO, schema);
 

Reply via email to