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

Article search serialization error (when Author Id exceeds max int). #203

Closed
TPMcMahon opened this issue Jan 29, 2016 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@TPMcMahon
Copy link

The Result class should define Id, AuthorId and SecionId as long? (or maybe long), just as they are defined in Article.

var results = api.Articles.SearchArticlesFor("Test article");

"An unhandled exception of type 'Newtonsoft.Json.JsonReaderException' occurred in Newtonsoft.Json.dll

Additional information: JSON integer 4303108328 is too large or small for an Int32. Path 'results[0].author_id', line 1, position 244."

@mozts2005 mozts2005 added the Bug label Feb 11, 2016
@mozts2005 mozts2005 self-assigned this Feb 11, 2016
@mozts2005 mozts2005 added this to the 3.5.0 milestone Feb 17, 2016
@mozts2005
Copy link
Member

commit ecb8461 has fixed this issue. closing this issue

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

No branches or pull requests

2 participants