-
Notifications
You must be signed in to change notification settings - Fork 512
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
Fix supportsSecureCoding for intercepted classes #716
Conversation
@ecaselles Could you look at this pull-request? |
Seems solid @bamx23 and apologies for the delay in the reply. It would be great if you could add a test to reproduce the original issue and then verify the patch solves it. That way, we make sure is covered for the future :) |
I feel it might be slightly difficult because reproducing the issue means breaking test runs. But I'll try to reproduce it anyway, sure. |
@ecaselles, I've implemented a test that reproduces the problem. Unfortunately, I haven't found any simpler way. There is a |
Thanks @bamx23! It looks good to me. I agree it is not ideal and a bit stretched, but it works for checking your changes. I am happy to merge it as it is or we can add a comment explaining the rationale for this test if you think it will make it easier for future reference. What do you think? |
Thanks for merging! I wanted to add a comment early next week. If the next version will not have been released before that. Or maybe even if it will be released because comments are helpful either way. |
Here it is #721 |
Hi!
For at least a year I've been meeting the same problem: if there is an NSDate stub and test fails, test run fails(crashes) with something like this:
Today I've finally decided to figure out what is the problem. It all ended up with this patch.
Maybe someone has any idea about how to solve the problem more properly?