Skip to content

Set request_body values to None if bool(value) is False

Administrator requested to merge set-empty-request-params-to-None into master

For the optional attributes, OTRS send in the request_body empty values as "{}" because of the XSLT usage. These false values are taken by the get but then fail within the HTTP request with this json structure related error:

{"success":false,"errors":[{"statusCode":"500","message":"Illegal value for primitive","fields":""}]}
Edited by Administrator

Merge request reports

Loading