-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: 6.0.0
-
Fix Version/s: 6.0.0
-
Component/s: Access Server
-
Labels:None
-
Severity:Medium
When sending a valid payload with all 4 entity types, the patching fails. Moreover, it changes the config before failing, thus leaving the config in an invalid state (e.g. curl -uaccess-admin:password http://localhost:8081/access/api/v1/config will fail after that patching)
curl -uaccess-admin:password -XPATCH "http://localhost:8081/access/api/v1/config" -H "Content-Type: application/json" -v -d '\{"config":"---\nfederation:\n outbound:\n buffer-max-size: 500\n buffer-wait-millis: 10000\n consider-stale-hours: 168\n entity-types-to-sync:\n - users\n - groups\n - permissions\n - tokens\n maximum-future-time-diff-millis: 60000\n number-of-retries: 3\n timeout-millis: 3000\n"}'
{
"errors" : [
Sending 1, 2 or 3 types, no matter which types, succeeds.