Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUSTCOM-199 Fix REST management JSON requests #4504

Merged
merged 1 commit into from
Feb 20, 2020
Merged

CUSTCOM-199 Fix REST management JSON requests #4504

merged 1 commit into from
Feb 20, 2020

Conversation

MattGill98
Copy link
Contributor

Description

This is a bug fix.

The REST management interface couldn't be invoked via a JSON request, since the parameters would be read into the map as a JSONStringImpl, which still contains the wrapping quotation marks. This means that all of the parameters would be wrong. This commit uses the toString method
of the values read rather than hard casting to make sure the correct values are parsed.

@MattGill98
Copy link
Contributor Author

jenkins test please

@MattGill98
Copy link
Contributor Author

jenkins test please

The REST management interface couldn't be invoked via a JSON request,
since the parameters would be read into the map as a JSONStringImpl,
which still contains the wrapping quotation marks. This means that all
of the parameters would be wrong. This commit uses the toString method
of the values read rather than hard casting to make sure the correct
values are parsed.

Signed-off-by: Matt Gill <matthew.gill@live.co.uk>
@dmatej
Copy link
Contributor

dmatej commented Feb 18, 2020

Jenkins test please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants