-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$250] Chat - Error message reappears after sending another message #44824
Comments
Triggered auto assignment to @VictoriaExpensify ( |
We think this issue might be related to the #vip-vsb |
I haven't had a chance to look at this, will come back to it on Monday |
ProposalPlease re-state the problem that we are trying to solve in this issue.Error message reappears after sending another message What is the root cause of that problem?There is an error when uploading attachment: This happens because we directly assigning the This cause an error because we cannot store non-cloneable properties on IndexedDB This make the reportActions_ onyx data not stored on IndexedDB What changes do you think we should make in order to solve the problem?Line 3702 in 4ae133d
Change this code to const attachmentInfo = file ? {...file} : {}; by this changes we create a shallow copy of the file object. This shallow copy contains only the properties of the file object, excluding any non-clonable properties
RESULT New-Expensify.13.mp4What alternative solutions did you explore? (Optional) |
@VictoriaExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~0167c1b57ade6a9fb4 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
I agree this is an issue and it should be fixed. Also agree that this is best suited to VSB |
Thank you for your proposal @nyomanjyotisa . Can you expand on your RCA, why exactly having action data in failure data is causing this, I mean failure data is applied when request fails which is happening instantly when error is shown, then we are removing report action with error in https://github.com/expensify/app/blob/1f7c785753747a84b84c859cbdf4503447fc7bac/src/libs/actions/ReportActions.ts#L80 Moreover this piece of code was there for a long time and why now it is causing this? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Error messages re-appear What is the root cause of that problem?
App/src/libs/actions/QueuedOnyxUpdates.ts Lines 16 to 20 in fef8ef8
What changes do you think we should make in order to solve the problem?We add a catch clause like
we check if the error is failed to execute 'put' on 'IDBObjectStore', then suppress the error, and splice only that, else throw again (a moderator with experience in the project can answer) Result after changes: What alternative solutions did you explore? (Optional) |
📣 @amunim! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@VictoriaExpensify, @alitoshmatov Eep! 4 days overdue now. Issues have feelings too... |
@alitoshmatov - what are your thoughts on @nyomanjyotisa updated proposal? |
That makes sense @nyomanjyotisa We can go with @nyomanjyotisa 's proposal C+ reviewed 🎀 👀 🎀 |
Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @alitoshmatov 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nyomanjyotisa 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR created @alitoshmatov |
bump for PR review @alitoshmatov |
The PR was closed because the issue got fixed elsewhere. That said, contributors should still receive payement. @VictoriaExpensify can you handle that please? |
@VictoriaExpensify both @nyomanjyotisa and @alitoshmatov are due compensation here. Per the internal SO
|
This issue has not been updated in over 15 days. @cead22, @VictoriaExpensify, @alitoshmatov, @nyomanjyotisa eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
We have the same issue after uploading workspace avatar here #47150. Is it should fix here? Asking because we have an accepted proposal here, but nothing there. |
It does look like both are similar, not sure if our solution would have solved this though. @nyomanjyotisa Can you look into #47150 issue |
#47150 (comment) They decided to handle the issue there. Next step for this issue is to handle payment and close the issue |
@VictoriaExpensify plz pay both @alitoshmatov and @nyomanjyotisa since @nyomanjyotisa was hired and raised a PR, only for the bug to fixed magically (right?) Carlos commented here too |
Payment Summary: |
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: v9.0.4-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: https://expensify.testrail.io/index.php?/tests/view/4693768
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
The error message should not reappear.
Actual Result:
The error message reappears after sending another message.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6532542_1720046830416.bandicam_2024-07-03_18-41-01-357.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: