-
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
[$250] Web - Reimburse expenses - Offline save changes are not reflected immediately #11845
Comments
Triggered auto assignment to @chiragsalian ( |
Shall investigate today |
I can reproduce the issue on staging but not on dev. From the network request it looks like the issue is something related to persisted requests and may not necessarily be an issue with the code around rate and unit. Either way, I'm thinking of waiting to see if the next deploy just solves this issue. Demoting it to weekly till then. |
I retested and it looks like its not an issue anymore. Can you retest and confirm @kbecciv? |
@puneetlath Checking, will update you shortly |
@chiragsalian It flashes to old values for a second, then the value remains unchanged. Please check this video. Recording.817.mp4 |
Triggered auto assignment to @jliexpensify ( |
Ah yes, i see that problem. @kavimuru, could you update this issue or create another one to reflect the issue you just mentioned with steps. Then I can apply the external label so someone else can also reproduce and tackle. |
@chiragsalian I have edited the steps, as per this new issue. |
Sounds good. I'm like 90% sure the problem is front end and it might be an issue with how PersistedRequests and reconnectApp works. Either way, adding the appropriate labels for people to investigate. |
Triggered auto assignment to @MitchExpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Current assignee @chiragsalian is eligible for the External assigner, not assigning anyone new. |
ProposalProblemCurrently, in offline mode when the user edits the init rate and clicks save, this action will add in networkRequestQueue and will be called back if back online. SolutionIn Expensify/App/src/libs/actions/Policy.js - API.read('OpenWorkspaceReimburseView', {policyID});
+ API.write('OpenWorkspaceReimburseView', {policyID}); Before Screen-Recording-2022-11-02-at-11.27.10.mp4After Screen-Recording-2022-11-02-at-11.23.24_1.mp4 |
I think we prioritized write operations before Reading in some PR. So this should be fixed by that. I will discuss this on slack on Monday(when the team is active). |
This issue is solved by #12219, closing |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Offline save changes should be reflected immediately
Actual Result:
It flashes to old values for a second, then the value remains unchanged
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.15.2
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
Bug5775963_Recording__2365.mp4
198854259-e9e48603-dae1-4992-a5ee-e75809ac5b4a.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: