Skip to content

Uppercased boolean breaks patchrequest filter #239

@willemvermeer

Description

@willemvermeer

Hello, I am trying to connect a Microsoft Azure datasource through the 3.2.0 scim2-sdk-common library.

A Microsoft patch request looks like:
{"op": "replace", "path": "roles[primary eq \"True\"].display", "value": "LLWNASSGATWP"}

which results in an exception:
Attribute roles does not have a value matching the filter primary eq \"True\"

when I change (manually) the filter from True by true it works fine.

Could it be an improvement in scim2-sck-common to lowercase the True-value when we know the filter is on a Boolean type? Should I look in Microsoft/Azure to change the way the filter is constructed? Or am I maybe missing something completely obvious here?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions