-
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
[$500] Web - Report Preview in Report Screen shows up even after deletion of Money Request #26627
Comments
Triggered auto assignment to @muttmuure ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Report Preview in Report Screen shows up even after deletion of Money Request What is the root cause of that problem?The problem occurs because we are not clearing the Report Preview on the deletion of the IOU Report. . Further, What changes do you think we should make in order to solve the problem?
The changes can be as follows:
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Report preview in report page shows again even after money request is deleted What is the root cause of that problem?When we delete a money request, deleteMoneyRequest function is called. Lines 1183 to 1189 in d971190
And the Please check the code here We remove the keys with null value in This is the root cause of this issue What changes do you think we should make in order to solve the problem?In Onyx.merge function, we merge the changes with existing data and remove all keys with null values, we have to call This works as expected Result26627.mp4What alternative solutions did you explore? (Optional) |
Calling Storage.setItem instead of Storage.mergeItem is definitely not what we want to do here, because we added JSON_PATCH functionality for SQLite on native here. I just discovered the potential problem. I think it’s related to the idb-keyval PR by @hannojg. The problem is, that before this PR, on web we just set the modified data with the nullish keys removed already. After this PR, on web we’re using yet another merge funcationality, which will not drop the nullish keys, because the modified data with the removed nullish keys will be merged. I’m gonna open a PR, which fixes this. |
I hope you open the PR asap. I think this bug may cause several issues |
@muttmuure Still overdue 6 days?! Let's take care of this! |
@s-alves10 just created a PR in Onyx that fixes this issue: Expensify/react-native-onyx#333 |
@muttmuure 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@muttmuure 10 days overdue. I'm getting more depressed than Marvin. |
@muttmuure this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Job added to Upwork: https://www.upwork.com/jobs/~013c7ff8faa3f9e5a6 |
Current assignee @muttmuure is eligible for the External assigner, not assigning anyone new. |
I was out last week. Catching up this week |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
@allroundexperts @muttmuure this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
@allroundexperts, @muttmuure Huh... This is 4 days overdue. Who can take care of this? |
@allroundexperts can you verify if @chrispader's PR fixes this? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@allroundexperts, @muttmuure Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@allroundexperts @muttmuure this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:
Thanks! |
Current assignee @allroundexperts is eligible for the Internal assigner, not assigning anyone new. |
@allroundexperts, @muttmuure 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
No proposals, going to come back in a week and see if this is reproducible |
@muttmuure |
Issue not reproducible during KI retests. (First week) |
Issue not reproducible during KI retests. (Second week) |
@allroundexperts @muttmuure |
This hasn't been reproducible for two weeks [following this PR] (#26627 (comment)) - closing. Thank you @rojiphil ! |
@miljakljajic @muttmuure |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Report Previous should not show up for a deleted Money Request
Actual Result:
Report Preview shows up for a deleted Money Request
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.62.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
deletemrfails.mp4
Recording.4231.mp4
Expensify/Expensify Issue URL:
Issue reported by: @rojiphil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693399731169779
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: