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

#6: Fix error when loading project's existing Pull Requests #8

Merged
merged 1 commit into from
Apr 8, 2019

Conversation

mc1arke
Copy link
Owner

@mc1arke mc1arke commented Apr 6, 2019

When running a scan, the scanner engine loads existing Pull Request details from SonarQube core using a Web Service, but fails to deserialise the response due to a mismatch between the data types in the returned data structure and the target model.

Changing the deserialisation method to parse the impacted date field to a Date object using a Date Formatter, and then convert the parsed date to the target model's long type resolves this issue.

When running a scan, the scanner engine loads existing Pull Request details, but fails to deserialise the response due to a mismatch between the returned data structure and the target model. Changing the deserialisation method to parse the impacted date field to a Date object using a Date Formatter, and then convert the parsed date to the target model's `long` type resolves this issue.
@mc1arke mc1arke self-assigned this Apr 6, 2019
@mc1arke mc1arke merged commit 2feecd2 into master Apr 8, 2019
@mc1arke mc1arke deleted the bug/issue6 branch April 8, 2019 16:55
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.

1 participant