Actions
Bug #3770
closedAPI calls using JSON content instead of parameters are ignored
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When calling /api/directives/id with json parameters to update a directive only the one using parameters is working.
If you call this with a JSON data, this will be ignored by the API.
This is due to some pattern matching in Scala :
case Post id :: Nil, req => ... case id :: Nil JsonPost, req => ...
The first case includes the second one, so the jsonPost is never matched.
Actions