[
https://issues.apache.org/jira/browse/SYNCOPE-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472198#comment-13472198
]
Francesco Chicchiriccò commented on SYNCOPE-214:
------------------------------------------------
The error message you are seeing is not directly connected with the fact that
you cannot change the value of memberOf on AD.
Actually, the only relevant thing in this respect is that the error on AD gives
a message that, when getting inserted in the task execution (TaskExec) table,
generates a charset-related error. Is your PostgreSQL database configured for
UTF-8 [1]?
Moreover, could you please reproduce the same error and look at Syncope's or
PostgreSQL's logs in order to get the whole query (including parameter values)
that causes this error?
Thanks.
[1] http://www.postgresql.org/docs/9.2/static/multibyte.html
> Error when trying to change readonly attribute
> ----------------------------------------------
>
> Key: SYNCOPE-214
> URL: https://issues.apache.org/jira/browse/SYNCOPE-214
> Project: Syncope
> Issue Type: Bug
> Components: console, core
> Affects Versions: 1.0.1-incubating
> Environment: Tomcat 7, Microsoft 2008 Server with ActiveDirectory,
> PostgreSQL 9.2.1
> Reporter: Jan Bernhardt
> Priority: Minor
>
> I setup Syncope with an AD as a remote resource for users and a Postgres DB
> for internal resources.
> I added a virtual attribute to my user schema named: groupMember.
> For my AD resource schema mapping I assigned this virtual attribute to
> memberOf AD attribute.
> When I try to change (creating a new user or updating an exsisting one) my
> groupMember attribute in syncope, I'll get the following error message:
> Error:{[GenericPersistence [FEHLER: ungültige Byte-Sequenz für Kodierung
> »UTF8«: 0x00 {prepstmnt 311355524 INSERT INTO public.TaskExec (id, enddate,
> message, startdate, status, task_id) VALUES (?, ?, ?, ?, ?, ?) [params=?, ?,
> ?, ?, ?, ?]} [code=0, state=22021]]], }
> After investigating into this issue, I discovered that the reason for my
> error message is, that memberOf attribute in AD is read only. So I can not
> change this value. However the error message does not provide any hint to the
> real issue. So please provide a better error message.
--
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