-
Notifications
You must be signed in to change notification settings - Fork 163
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 missing field in profile-summary when data is missing #11952
Conversation
c932182
to
8cd32ee
Compare
changelog: Bug Fixes, Reporting, Fix missing field in profile-summary when data is missing
8cd32ee
to
66746e4
Compare
['[email protected]', '[NOT FOUND]'], | ||
] | ||
|
||
expect(result.table).to eq(expected_table) |
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'm probably just being dense, but I don't entirely follow how these changes would have caught the previous issue. Shouldn't an equality check have failed?
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.
You're right, my added check does not address the 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.
Added a hopefully clearer and more correct check in 946f8fb
3500b6c
to
946f8fb
Compare
* Fix missing field in profile-summary when data is missing changelog: Bug Fixes, Reporting, Fix missing field in profile-summary when data is missing * Fix check for consistent row length
🛠 Summary of changes
Follow up to fix a bug from #11935 where the resulting rows are missing a field in the case where a User or Profile was not found. I've also added a check to this and other table-based reports to try to avoid a regression where the row lengths do not match.