-
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-02] [HOLD for payment 2023-09-29] [$500] Dev: Web - App crashing on creating new workspace #27782
Comments
Job added to Upwork: https://www.upwork.com/jobs/~016db5c84825401ac4 |
Triggered auto assignment to @muttmuure ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
App/src/pages/home/report/ReactionList/PopoverReactionList/index.js Lines 32 to 34 in 778f763
if (!innerReactionListRef.current || !innerReactionListRef.current.hideReactionList) {
return;
} What alternative solutions did you explore? (Optional) |
Seems a regression from #27268 as for me while navigating back from profile crashes the app |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - App crashing on creating new workspace What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?We need to check this condition first: here, App/src/pages/home/report/ReactionList/PopoverReactionList/index.js Lines 32 to 34 in 12dbce8
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web app crashing while creating a new workspace. What is the root cause of that problem?useImperativeHandle is called in which hideReactionList is used which ultimately uses the ref passed to child component. This is called before rendering of the child component which results in error. What changes do you think we should make in order to solve the problem?We need to return is the ref current is either undefined or null here App/src/pages/home/report/ReactionList/PopoverReactionList/index.js Lines 32 to 36 in e18ec42
to this const hideReactionList = () => {
if (!innerReactionListRef.current) return;
innerReactionListRef.current.hideReactionList();
}; Also while using useImperativeHandle, we need to pass the dependency array with the arguments that are being used. useImperativeHandle(props.innerRef, () => ({showReactionList, hideReactionList, isActiveReportAction}), [innerReactionListRef.current]); What alternative solutions did you explore? (Optional)N/A |
We can close this issue. It has been fixed in #27798 |
This isn now repro in production, merged the fix into main, going to ask for a CP |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.72-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-09-29. 🎊 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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-02. 🎊 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:
|
@ArekChr, @mountiny, @muttmuure Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@ArekChr, @mountiny, @muttmuure Huh... This is 4 days overdue. Who can take care of this? |
@muttmuure Can you please handle the payment of $50 here and then we can close |
Invite sent to @aman-atg |
@muttmuure Submitted the proposal on Upwork |
@ArekChr, @mountiny, @muttmuure Huh... This is 4 days overdue. Who can take care of this? |
Handling |
Offer sent |
@ArekChr, @mountiny, @muttmuure Huh... This is 4 days overdue. Who can take care of this? |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
App should not crash and workspace is created
Actual Result:
App crashes and a console error is present
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Dev 1.3.71-6
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
Notes/Photos/Videos: Any additional supporting documentation
app-crashes.mp4
Expensify/Expensify Issue URL:
Issue reported by: @aman-atg
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695116344613649
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: