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:26 UTC

[syncope] 02/02: [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 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit b3c11d2d8f812fe51f0e3fd74626d5f6629ac457
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 e1c742c..68e300f 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
@@ -313,7 +313,7 @@ public class SchemaDataBinderImpl implements SchemaDataBinder {
     private 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);