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

Don't crash the deserializer if object has an invalid class set #29

Merged
merged 1 commit into from Aug 11, 2017

Conversation

@jefshe
Copy link
Contributor

@jefshe jefshe commented Aug 1, 2017

Relates to #28

@eddelbuettel
Copy link
Owner

@eddelbuettel eddelbuettel commented Aug 1, 2017

The PR fails on the unit tests, and that is a no-no.

@jefshe
Copy link
Contributor Author

@jefshe jefshe commented Aug 1, 2017

fixed now, made a few too many assumptions about the class attribute

@jefshe
Copy link
Contributor Author

@jefshe jefshe commented Aug 11, 2017

@eddelbuettel, could I get your thoughts on the new PR? I just added a catch condition to handle this specific case.

@eddelbuettel
Copy link
Owner

@eddelbuettel eddelbuettel commented Aug 11, 2017

Truly sorry, caught that then ten days ago and was side-tracked, and it got overlooked.

Will take another look.

@eddelbuettel
Copy link
Owner

@eddelbuettel eddelbuettel commented Aug 11, 2017

Looks fine to me. Anybody else want to comment?

@eddelbuettel eddelbuettel merged commit d0e8838 into eddelbuettel:master Aug 11, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.