-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Reimburse expenses - Error continues to appear when changing the rate after it was modified #12451
Comments
Triggered auto assignment to @trjExpensify ( |
This was my PR so I can investigate. Seems something changed between when I tested it locally and when it was deployed. |
Hmm, looking at the issue it's probably best to wait for #12219 to be merged + deployed first so we can be more sure of what the issue is. I think the offline client may seem to have the wrong value after coming back online because the order of writes and reads is incorrect. This happened for me locally, but after pulling the changes from #12219 that seemed to fix things since it ensures read requests run last. Context for Web PRI did notice a separate issue while having those changes checked out, but I think I know how to rectify it and can open a separate web PR. Basically, we also need to send back the current custom unit rate data when we error out, that way the client can display the current custom unit rate data as soon as we come back online and display the error. |
Sheesh, fun one! Okay cool, so we should mark this as |
sure, I can also QA both PRs since I have the most context about what to look out for to clarify, for this issue we currently have: |
Issue not reproducible during KI retests. (First week) |
https://github.com/Expensify/Web-Expensify/pull/35433 was just deployed to prod an hour ago. Testing this out again |
Hmm it seems like now I can't even get the error to appear, strangely the API just accepts the new updates from the client that was offline. Perhaps something has changed since https://github.com/Expensify/Web-Expensify/pull/35433 was being deployed, I'll investigate. Screen.Recording.2022-11-15.at.11.23.32.AM.mov |
Issue not reproducible during KI retests. (Second week) |
Actually, the errors do show up correctly locally, but they don't on staging or prod yet, I'm going to close this out for the time being and try it once the next few deploys go out. If it crops up again I'll reopen. |
Issue is reproduced today with build 1.2.31.7 Screenrecorder-2022-11-24-23-42-19-718.mp4 |
@trjExpensify, @jasperhuangg Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Taking a look into this one today! |
@kbecciv it seems to actually be working as expected when I tested it on Screen.Recording.2022-11-28.at.9.28.45.AM.mov
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR #12162
Action Performed:
Expected Result:
You are able to modify the field and no errors show.
Actual Result:
Error continues to appear when changing the rate after it was modified offline
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.23.7
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5805014_12162_Web_2.mp4
Bug5805014_Record_2022-11-03-20-31-12__1_.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: