-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-08-21] [$1000] App crashes when deleting workspace while in offline mode #24062
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
Video to reproduce the issue. Screencast.from.2023-08-02.19-13-38.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when deleting the workspaces(from more than 4 to 4 or less) offline and turns to online What is the root cause of that problem?For showing the extra number of items overlay in App/src/components/MultipleAvatars.js Line 197 in cf4e837
The issue is What changes do you think we should make in order to solve the problem?We need to use App/src/components/MultipleAvatars.js Line 216 in cf4e837
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The app shouldn't crash What is the root cause of that problem?When online we have 5 icons then this code is correct. App/src/components/MultipleAvatars.js Line 216 in 615c8a1
But after deleting 2 items, on the setting side, we still show 5 workspaces here. When back online, the new workspace is deleted resulting in props.icons with only 3 items but the change here useEffect will update What changes do you think we should make in order to solve the problem?We can use
What alternative solutions did you explore? (Optional)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when deleting workspaces in offline mode and back to online What is the root cause of that problem?After deleting 2 workspaces and go to settings page, we have 5 workspaces including pending deletion. So MultipleAvatar component shows 5 icons. What changes do you think we should make in order to solve the problem?We have to synchronize the Remove the
This way, we can sync the Result24062.mp4What alternative solutions did you explore? (Optional) |
@sonialiap Eep! 4 days overdue now. Issues have feelings too... |
Triaging to external |
Job added to Upwork: https://www.upwork.com/jobs/~01ab283e641a86aa39 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
I think @s-alves10's proposal makes sense to me, it appears to fix the root cause. This bug seems to arise from recent functional refactor. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @s-alves10 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @Natnael-Guchima 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Thank you |
🎯 ⚡️ Woah @fedirjh / @s-alves10, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.53-2 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-08-21. 🎊 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:
|
Not overdue, waiting for payment to be done. |
BugZero Checklist:
Regression Test Proposal
|
Regression test proposal looks good to me, let's wait for @sonialiap to get this added to the testRail. |
Sorry for the delay, back from OOO and sending payments:
|
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 shouldn't crash
Actual Result:
App crashes
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.49-0
Reproducible in staging?: y
Reproducible in production?: y
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
Recording.1435.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690459285350399
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: