Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-214

Error when trying to change readonly attribute

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1-incubating
    • Fix Version/s: 1.0.3-incubating, 1.1.0
    • Component/s: console, core
    • Labels:
      None
    • Environment:
      Tomcat 7, Microsoft 2008 Server with ActiveDirectory, PostgreSQL 9.2.1

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              jan4talend Jan Bernhardt
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: