[keycloak-user] Update The Client: Inconsistent behaviour by deleting of attributes via REST admin command in 1.9.0.RC1

Juraj Janosik juraj.janosik77 at gmail.com
Thu Feb 18 07:27:49 EST 2016


Hi,

I created a JIRA issue for this problem..

For detailed description please check
https://issues.jboss.org/browse/KEYCLOAK-2503

*Basic description:*

I want to delete 2 (custom) attributes defined via client representation in
body parameter "attributes" via REST admin command "Update the client" (PUT
method).
1.) customAttr_1 via not defining in JSON's request body
2.) customAttr_2 via setting with value empty string ""

Execution of Update The Client REST request performs successfully with
status code 204 No Content.

Next I want to check the client representation via GET method.
The response returns customAttr_1 and does not return customAttr_2.
But If I want to re-create the deleted customAttr_2 (via UPDATE the
client), I receive HTTP status code 409 Conflict.
Conclusion:
1.) customAttr_1 not deleted
2.) customAttr_2 not present in GET response, but still present in DB in
table CLIENT_ATTRIBUTES with value Null.

Best Regards,
Juraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160218/6959d7d8/attachment.html 


More information about the keycloak-user mailing list