[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forgerock-openidm
Subject:    [OpenIDM] Recon issue with OpenIDM-2.1.0--SNAPSHOT-121130
From:       lionel.schwarz () in2p3 ! fr (Lionel Schwarz)
Date:       2012-11-30 15:09:35
Message-ID: 50B8CC2F.70308 () in2p3 ! fr
[Download RAW message or body]

Dear all,
I just installed the nightly build OpenIDM-2.1.0--SNAPSHOT-121130.

I configured the manageUser->XML synchronization adding:
         {
             "name" : "managedUser_systemXmlfileAccounts",
             "source" : "managed/user",
             "target" : "system/xmlfile/account",
             "links" : "systemXmlfileAccounts_managedUser"
         }
in sync.json

When creating a new user with CURL
curl --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: \
openidm-admin" --request PUT --data '{ "userName":"joe",  "givenName":"joe", \
"familyName":"smith", "email":"joe at example.com", "phoneNumber":"555-123-1234" , \
"password":"TestPassw0rd",  "description":"My first user" }' \
http://host:8080/openidm/managed/user/joe

I got this error:
{"error":500,"reason":"Internal Server \
                Error","message":"org.forgerock.openidm.sync.SynchronizationException: \
                
org.forgerock.openidm.objset.BadRequestException: Required NAME attribute is \
missing"}

Joe is created in the managed/user but not in the XML file.

The log shows:
30 nov. 2012 16:06:03 \
                org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerService \
                traceObject
INFO: Action: create, Id: system/xmlfile/account, Object: {}
30 nov. 2012 16:06:03 org.forgerock.openidm.sync.impl.ObjectMapping \
                createTargetObject
ATTENTION: Failed to create target object
org.forgerock.openidm.objset.BadRequestException: Required NAME attribute is missing
...

Is there something misconfigured on my system?

Cheers,
Lionel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic