[
https://issues.apache.org/jira/browse/SYNCOPE-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Chicchiriccò resolved SYNCOPE-355.
--------------------------------------------
Resolution: Not A Problem
What reported is the expected behavior for read-only attributes: I have updated
the wiki page at [1] to make it clearer.
IMO, if you just need to have an attribute whose value cannot be changed in
Syncope, but still linked from an external resource, I'd suggest to use a
read-only virtual attribute [2].
Please use the user mailing list when you need some explanation or would like
to check some misbehavior.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Schema,+attributes+and+mapping#Schema%2Cattributesandmapping-Readonly
[2]
https://cwiki.apache.org/confluence/display/SYNCOPE/Schema,+attributes+and+mapping#Schema%2Cattributesandmapping-Readonly
> Read-only attributes are not synchronized
> -----------------------------------------
>
> Key: SYNCOPE-355
> URL: https://issues.apache.org/jira/browse/SYNCOPE-355
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.1.0
> Environment: RHEL 6.4 / OpenJDK 1.7.0_09 x86-64 /
> org.connid.bundles.ldap 1.3.5
> Reporter: James Flemer
> Assignee: Francesco Chicchiriccò
> Priority: Minor
> Labels: ldap, schema, sync
>
> User schema attributes that are marked read-only do not seem to get populated
> by synchronization.
> To reproduce:
> Configure a user schema attribute as read-only, create a (ldap) connector and
> resource, map the read-only attribute to an external (ldap) attribute, run a
> sync task.
> Result:
> All read-write attributes are sync'd as expected, read-only attributes remain
> blank (checked via CXF REST API "get" and via console). The attributes are
> grayed out (i.e. read-only) but blank on the console, the attributes don't
> even show up in the REST API output. There are no relevant ERROR or WARN
> messages in the logs that I can see.
> Expected Result:
> The read-only attributes are imported (sync'd) from the external resource,
> and displayed in Syncope, but are not editable within syncope.
> Workaround:
> Don't mark any attributes as read-only in the schema.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira