-
Notifications
You must be signed in to change notification settings - Fork 245
[JENKINS-63761] Certificate upload correction #208
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
[JENKINS-63761] Certificate upload correction #208
Conversation
src/test/java/com/cloudbees/plugins/credentials/impl/CertificateCredentialsImplTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works in my limited testing on Firefox 88.0.1 on 2.277.4.
Previously reviewed in detail elsewhere, this incorporates my feedback already 👍
I think we have typo in the bug number here in the subject - it is also wrong in the release notes https://github.com/jenkinsci/credentials-plugin/releases/tag/credentials-2.4 |
@saper thanks! (and thanks Daniel for the quick adjustment) |
Lol I spent far too long trying to integrate / fix a bug with certs in one of my plugins and gave up as I couldn’t figure out how to upload the cert... Good to know it wasn’t me being dumb, can’t remember where it was though |
new Upload(getDivId(), uploadedKeystore), "complete"); | ||
return FormValidation.ok("This endpoint is no longer required/supported due to the inlining of the file input. " + | ||
"If you came to this endpoint due to another plugin, you will have to update that plugin to be compatible with Credentials Plugin 2.4+. " + | ||
"It will be deleted soon."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be deleted soon
But #541?
Jira tickets: JENKINS-63761 and JENKINS-64542 (at least)
The second part about the validation was filed as a bug in the tracker: JENKINS-65616.
✔️ Both are resolved by putting the file input field "inline" inside the form instead of using a window. Then, by adding some magic from Jelly/hudson-behavior.js, we are able to trigger the validation at the correct moment.
Tested with:
Gifs of the behavior
2.253 Create
2.253 Update
2.292 Create
2.292 Update