Closed izarutskaya closed 1 month ago
Triggered auto assignment to @adelekennedy (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
We think this issue might be related to the #collect project.
reproducible - moving it to wave collect for distance
Job added to Upwork: https://www.upwork.com/jobs/~0137e06a0e9b33107e
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (External
)
@parasharrajat, @adelekennedy Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
no takers but this is a polish
issue
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
still waiting
@parasharrajat @adelekennedy this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
I'm not going to increase the price on this one as it's pretty edge case-y
I am Michał from Callstack - expert contributor group. I’d like to work on this job.
@MrMuzyk Let's go.
I believe the issue is somewhere inside react-native-onyx
and I will explain why is that below. First I wanted to add that @rezkiy37 is debugging issue that is similar to this one and root cause might be the same - onyx returning incorrect data. It might be a tricky one to fix, I dont have a solution yet and it would have to be in react-native-onyx
. I will investigate this more and see if I can come up with some kind of fix for this.
Here are my findings:
I've added a couple of logs inside component displaying waypoints
Next I've reproduced the issue step by step. On the first screenshot IOU is stored correctly inside OnyxDB.
I've went offline and opened the receipt. We can see in the console that it logged 2 waypoints correctly as it should which are later on passed to proper component that display them
I've checked OnyxDB and receipt was stored correctly there
After that I've removed one waypoint, saved it and went back online. We can see in the console that component received via props a transaction that had 3 waypoints in it - one was duplicated. This console.log happens straight away after receiving waypoints from props. They're not modified in any way before they're passed to component - this is data straight out of Onyx.
However when we look inside OnyxDB we can see that data stored there is correct - it has only 2 waypoints. I believe that the issue has to be somewhere inside onyx because this is the only place where this data could be modified during process of extracting it from OnyxDB and passing it component.
I'd like to also point out that the issue doesn't exist after page refresh - it's just a one time thing after turning off offline mode in the app. I also wasn't able to reproduce that issue when disabling internet connection via devtools or disabling/enabling directly wifi on my machine
@MrMuzyk
I'd like to also point out that the issue doesn't exist after page refresh - it's just a one time thing after turning off offline mode in the app. I also wasn't able to reproduce that issue when disabling internet connection via devtools or disabling/enabling directly wifi on my machine
In this case this doesn't seem worth it to me to keep this issue open, unless I'm missing something a "real" user wouldn't actually experience this?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
It shouldn't. Here is recording where I'm not able to reproduce the same behaviour while turning of wifi on my laptop
https://github.com/Expensify/App/assets/23487612/c4a1b786-2d0a-4398-9db0-61a58191bef1
I agree with @adelekennedy here.
Issue is still reproducible on iOS and Android App build 9.0.6-0
https://github.com/Expensify/App/assets/115492554/d684055f-c519-4b66-83cc-14b3196904d0
@izarutskaya Can you try to reproduce this issue by disabling the internet on device instead of in-app?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Any updates @izarutskaya?
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Let me try please
@parasharrajat It is reproducible by disabling the internet on device
https://github.com/user-attachments/assets/d3bf69ac-313a-436b-8a0d-8870b455d54b
@MrMuzyk Looks like the issue is still present on native devices. Would you mind giving it another look?
@parasharrajat I can look into it again but as my original comment with explanation stated - I believe that issue has to be on the Onyx side. Data that we're getting is coming straight from the Onyx and yet it's incorrect.
Yes, Please let see how can we solve this.
I've tried again to reproduce that on web and couldn't get the same result - it's working fine on web. Sadly I do not have real mobile device to try to reproduce that.
https://github.com/user-attachments/assets/d5635752-4c05-45a5-bc09-97d6ec579c0a
I will try this today.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Issue not reproducible during KI retests. (First week)
I can not reproduce this issue.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
It seems like we can close this out (I also can't reproduce either)
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v1.4.66-2 Reproducible in staging?: Y Reproducible in production?: Y Logs: https://stackoverflow.com/c/expensify/questions/4856 Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
Deleted waypoint should vanish
Actual Result:
Two same waypoints appear after getting online if user deletes any of the waypoints via Troubleshoot-Force Offline Note: The issue does not occur if internet connection is turned off via computer/router.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/0ce65153-f434-4580-9267-71dbd091c571
View all open jobs on GitHub
Upwork Automation - Do Not Edit