-
Notifications
You must be signed in to change notification settings - Fork 20
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
[FIXED JENKINS-40113] sematic-versioning-plugin causes dashboard to biff #8
Conversation
Relation to jenkinsci/jenkins#2459? |
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.
Did you actually reproduce the bug and confirm the fix, or are you just guessing here? What is the root cause—is there an incompatible change in core?
@@ -83,7 +83,7 @@ public SemanticVersionColumnDescriptor() { | |||
|
|||
@Override | |||
public ListViewColumn newInstance(StaplerRequest req, JSONObject formData) throws FormException { | |||
String strategy = formData == null ? LastSuccessfulBuildStrategy.class.getCanonicalName() : formData.getString("displayStrategy"); | |||
String strategy = formData == null ? LastSuccessfulBuildStrategy.class.getCanonicalName() : formData.optString("displayStrategy"); |
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.
I think you meant
String strategy = formData == null ? null : formData.optString("displayStrategy");
if (strategy == null) {
strategy = LastSuccessfulBuildStrategy.class.getCanonicalName();
}
@jglick Root cause seems to be this change jenkinsci/jenkins@8c73550 |
3ab89b6
to
07d2b75
Compare
@jglick ping |
🐝 |
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
@reviewbybees done |
See JENKINS-40113
@reviewbybees