You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2022/03/10 07:32:24 UTC

[syncope] 03/03: [SYNCOPE-1659] Fixing issue introduced by d2524ea for SYNCOPE-1392

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ò <il...@apache.org>
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);