-
Notifications
You must be signed in to change notification settings - Fork 417
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
[Bug] Serialization broken since 8.0.1 #2846
Comments
Thanks for fixing this. According to the notes above this is slated for the 8.2.0 milestone, which looks to be aimed for release in early November. Is there any potential for this fix to be released sooner than that? I'm trying to upgrade our project from v7.2.0 to v8.1.0 and this bug is a showstopper. Apologies in advance if this isn't the right spot to make this request. |
@pahlquist, appreciate you bringing this to our attention. We are adding this to our 8.1.1 milestone which will be released imminently. |
Sorry to necrobump this issue again but I just tried to update again and another one broke on me.
Is it possible to make that one serializable as well ? I tried forking it but it appears like this could be problematic |
@SimonSchwendele, same result here. I've also forked it and am following the trail of the other handful of classes that would need to be marked serializable and came across the Thanks to @kellyyangsong and @jennyf19 for the attention you've given this, it's much appreciated! |
Well the existing code is serializable that much ist true. |
Which version of Microsoft.IdentityModel are you using?
Microsoft.IdentityModel 7.7.1 ( broken on 8.0.1 )
Where is the issue?
Is this a new or an existing app?
The app is in production and I haven't upgraded Microsoft.IdentityModel.*, but started seeing this issue.
Repro
When I invoke
Activator.CreateInstance(ClassToDoThingsType) as MarshalByRefObject
I get the following error.
Expected behavior
A new instance of the object is created accross the domains.
Actual behavior
Possible solution
The issue is due to the recently introduced type
CaseSensitiveClaimsIdentity
in #2700 .It could be made serializable.
Additional context / logs / screenshots / links to code
Add any other context about the problem here, such as logs and screenshots or links to code.
The text was updated successfully, but these errors were encountered: