-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-10] [HOLD for payment 2023-08-08] Chat - Crash when deleting attachment from user B when user A has open attachment modal #23964
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @roryabraham ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Crash when deleting attachment from user B when user A has open attachment modal What is the root cause of that problem?While reportActions props variable is changed by onyx, it calls What changes do you think we should make in order to solve the problem?To close the AttachmentModal at this moment, we need to update the
What alternative solutions did you explore? (Optional)N/A |
Thanks for your investigation so far @railway17 - it looks like you're thinking the problem comes from App/src/components/AttachmentCarousel/createInitialState.js Lines 57 to 58 in 52b8ddc
Let's try reproducing in production, since that PR that introduced that is on production as of yesterday |
Couldn't reproduce on prod, could reproduce on staging only |
@railway17 I like your solution, how quickly can you get a PR up? |
I can do it shortly |
OK thanks I'm exploring one other option at the moment |
In the meantime, do you want me to create a PR with my solution? |
@railway17 it looks like this PR actually caused the issue: #22543 The reason is we started doing I'm going to put up a PR with a solution that returns early instead of handling nonexistent |
PR is up: #23988 |
PR merged. @twisterdotcom could you please assign this to me for C+ |
Removing deploy blocker, this is fixed in staging now due to #23988 👍 |
@twisterdotcom Sorry, for asking a lot of questions 😁. If this issue was known and documented on this pr #22261 shouldn't this issue be reproducible on production too, since the PR is 2 weeks old? This issue was reproducible only on staging. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.48-5 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-08. 🎊 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.49-3 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-10. 🎊 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:
|
@Natnael-Guchima sorry I missed your Q here. I don't quite follow it. I still think this was reported earlier than your report. If not, we are obviously happy to rectify but could you make it as easy as possible to follow that for me? |
Payment Summary for this issue: |
@twisterdotcom okay, I am going to try to make my argument clear. But no worries if you think the issue was known. Let's call the issue I reported 'report A' and the issue that claim to have a similar root cause with my report as 'report B'.
My question was if report A and report B have similar root causes, shouldn't 'report A' as 'report B' be reproducible on staging and production by the time it was reported? Thanks. |
Reviewed the details for @rushatgabhane. $1k is approved for payment in NewDot. |
@Natnael-Guchima I don't think those things are mutually exclusive personally. Just because something fixed a deploy blocker, doesn't mean the underlying issue wasn't a problem on both environments. Tonnes of bugs exist on Production, that may be fixed by a PR that is pushed to fix another deploy blocker later. It sucks we deployed a bug weeks earlier, and that we didn't catch a fix until something worse occurred because of it, but I still don't think it counts here I'm afraid. Please don't be put off though - as you'll see, there are tonnes of bugs to find and fix and we do try to be as fair as possible when considering payments across the board - I am sure the vast majority of our contributors will attest to that. |
@twisterdotcom that makes sense. I won't be put off. It is really nice and rewarding to work here. Thanks for bearing up with me 🙂 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #22543
Action Performed:
Expected Result:
An attachment modal closed
Actual Result:
App crashed for user A
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.48.0
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6148620_Recording__5677.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: