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

Rename tokenExpiry field to prevent Folder corruption issues when upgrading from old versions of this plugin #336

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

dwnusbaum
Copy link
Member

XStream attempts to deserialize all fields in XML files that have a corresponding field in the class, even if it is marked transient. This means that #325 did not actually fix the issues described in #323, #324, and #326, which were caused by #223.

This should fix #323, #324, and #326. I tested it manually with a corrupted folder.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@bluesliverx
Copy link
Contributor

I'm not sure who has merge permissions here, but I do not.

@dwnusbaum
Copy link
Member Author

@jetersen Any chance you can help get this released?

@jetersen jetersen added the bug label Aug 30, 2024
@jetersen jetersen merged commit 946b535 into jenkinsci:master Aug 30, 2024
14 checks passed
@dwnusbaum dwnusbaum deleted the deserialization branch August 30, 2024 14:33
@dwnusbaum dwnusbaum changed the title Rename tokenExpiry field to prevent Folders corruption issues when upgrading from old versions of this plugin Rename tokenExpiry field to prevent Folder corruption issues when upgrading from old versions of this plugin Aug 30, 2024
@sodul sodul mentioned this pull request Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullPointerException return value of "hudson.model.View.getOwner()" is null
6 participants