Jan Bernhardt created SYNCOPE-214:
-------------------------------------

             Summary: Missleading Error message 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

Reply via email to