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

Fix JSR310 serialization error when preparing login panel #5216

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rli
Copy link
Contributor

@rli rli commented Dec 20, 2024

If a user is somehow in the situtation where they have an sso-session defined, with a token in their SSO cache (either valid/invalid), then prepareBrowser fails since it tries to serialize the state of connectionSettings without the jackson-jsr310 module.

When using the IDE normally, this should not be possible because logout destroys the existing token and there is a prior check to see if user should be shown the chat panel / re-auth flow instead of the login browser

This is not intended behavior, so fix by configuring this to be an ignored field.

#5214

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

If a user is somehow in the situtation where they have an `sso-session` defined,
with a token in their SSO cache (either valid/invalid), then prepareBrowser fails
since it tries to serialize the state of `connectionSettings` without the jackson-jsr310 module.

This is not intended behavior, so fix by configuring this to be an ignored field.
@rli rli requested review from a team as code owners December 20, 2024 19:11
Copy link

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

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.

3 participants