-
Notifications
You must be signed in to change notification settings - Fork 537
bug / JENKINS 44321 changes tab doesn't load #1071
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
Conversation
…s could happen if the server returned a Run object with an ommitted "changeSet" property
@@ -70,7 +70,7 @@ export class RunRecord extends Record({ | |||
_class: null, | |||
_capabilities: [], | |||
_links: null, | |||
changeSet: ChangeSetRecord, | |||
changeSet: [], |
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.
changeSet
is actually an array of these records. If JSON response omitted the prop, then it would get initialized to an empty ChangeSetRecord
which would defeat null checking in the UI layer but still cause an exception to be thrown.
what is this one about? is that a go/no go @cliffmeyers ? |
This is a simple fix, just looking for a bee from someone. |
@michaelneale renamed and linked appropriate JIRA issue. |
🐝 |
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.
LGTM
Description
Submitter checklist
Reviewer checklist