-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-10-30] [$500] DEV: Web - Console error on login #29871
Comments
Triggered auto assignment to @adelekennedy ( |
Job added to Upwork: https://www.upwork.com/jobs/~010b8af22ad298788b |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Console errors appears after login and automatic navigation to the ReportScreen. What is the root cause of that problem?ReportScreen is expecting the key: ({route}) => {
return `${ONYXKEYS.COLLECTION.REPORT_USER_IS_LEAVING_ROOM}${getReportID(route)}`
},
What changes do you think we should make in order to solve the problem?Add this check. We only return the value from the collection when the userLeavingStatus: {
key: ({route}) => {
if(!getReportID(route)) {
return false;
}
return `${ONYXKEYS.COLLECTION.REPORT_USER_IS_LEAVING_ROOM}${getReportID(route)}`
},
initialValue: false,
}, What alternative solutions did you explore? (Optional)N/A |
@5war00p @fedirjh Seems a regression from #29590 where null is replaced with an empty string here. Now it returns the collection for |
Correct. It is a regression from #29590. @adelekennedy Please assign @fedirjh as C+ to handle regression. There will only be reporting payment afterwards. |
📣 @parasharrajat Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@fedirjh you mean changing the value to empty string? |
What is the difference between |
why is there a need to convert |
Yes , we should return
it's how
|
Found the culprit, thanks for explaining @fedirjh :) |
The code is tricky and that line should have included a comment explaining the difference and that we should require reportID to be |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.88-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-10-30. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payouts due: Issue Reporter: $50 @gadhiyamanan Upwork Based on comment here |
@fedirjh, @adelekennedy Huh... This is 4 days overdue. Who can take care of this? |
payments made! any more steps or are we good to close @fedirjh? |
@adelekennedy Let's close, No need for regression test as this is a console error. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: Dev 1.3.86.0
Reproducible in staging?: n
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697633043348869
Action Performed:
Expected Result:
should not show console error
Actual Result:
console error appears
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2023-10-18.at.6.14.19.PM.mov
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: