SimpleIdServer icon indicating copy to clipboard operation
SimpleIdServer copied to clipboard

[SCIM] Error in bulk insert using version 4.0.5

Open polybogdan opened this issue 2 years ago • 3 comments

Hello,

I'm facing an issue when doing the following call to insert an user with entitlements and the SupportTransaction of the MongoSettings is set to true.

{
    "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
    "emails": [
        {
            "type": "work",
            "value": "[email protected]",
            "primary": true
        }
    ],
    "name": {
        "familyName": "Test familyName",
        "givenName": "Test givenName"
    },
    "displayName": "Test displayName",
    "active": true,
    "userName": "[email protected]",
    "entitlements": [
        {
            "value":"421578a6-5cd1-4ef7-bf86-1580f25d28f7"
        }
    ]
}

image

Exception occurs in the BulkInsert : image

polybogdan avatar Jan 15 '24 09:01 polybogdan

The problem has been resolved in the master branch. When a transaction was created, it was not passed during the querying process, and as a result, the application was unaware of the entity added during the transaction.

simpleidserver avatar Jan 15 '24 21:01 simpleidserver

Hello,

Thanks for the quick fix. I did some tests and it seems to be working fine so far.

Regards

Bogdan

polybogdan avatar Jan 16 '24 09:01 polybogdan

if the issue is closed in the project board, shouldn't it be also closed here in "issues"?

LazaroOnline avatar Mar 25 '24 05:03 LazaroOnline