-
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
After sending a message in offline mode and going back to online, messages are repeated when refreshing the page #2451
Comments
Triggered auto assignment to @sonialiap ( |
@isagoico I think this video is not working. It would be better to just attach the video link. Converting Webm to mp4 has some issues. |
@isagoico Working video video.mp4 |
Nice catch @parasharrajat. Guessing we are just not clearing the queue out once the queue is allowed to run here? I think we were mainly focused on the case of:
|
@marcaaron Yes. message queue should be cleared when the queued messages are processed after user comes back online. But one important point to take is that we should only process the queue when the client is leader. I have tested it. Proposal is ready. Even queue processing should be done by leader as we share the localhost across tabs |
Ok, I think we can skip most of triage then and get this fast tracked. |
Triggered auto assignment to @puneetlath ( |
Are we ready to move on this one? I am willing to fix this. |
Sorry for the delay Rajat. Here's the job: https://www.upwork.com/jobs/~0151bfc06bb91fc01c |
1 similar comment
Sorry for the delay Rajat. Here's the job: https://www.upwork.com/jobs/~0151bfc06bb91fc01c |
Triggered auto assignment to @Julesssss ( |
@puneetlath Applied, Thanks. |
Closing, @parasharrajat was paid for this on Jun 25. Reopen and add comment if needed |
@mallenexpensify Sorry I am not yet paid for this. Also, PR is in progress which I planning to finish as soon as possible. |
Sorry @parasharrajat . I'm going to blame it on Upwork :) |
This comment has been minimized.
This comment has been minimized.
@MelvinBot I am actually working on this. If you think so you can do that. So kind of you. 😉 |
@MelvinBot apologizes, he was running a test |
This is a $250 job in Upwork, does that amount still feel fair? Seems like this issue and the corresponding PR took a lot of time and work. cc @tgolen @marcaaron @parasharrajat |
@mallenexpensify This is your call. As you pointed out, I originally reported the issue as well but didn't create the GH issue so can't really justify the bonus. But yeah PR had a lot of back & forth. Also, you can open this issue as payment is still pending. |
@mallenexpensify Any update on Upwork for this task keeping this #2451 (comment) in mind? |
Reopened. Thanks for following up Rajat, I somehow didn't notice the issue had been closed before. |
@parasharrajat the old posting was closed and I couldn't pay on it. Can you submit a proposal for this job then comment here and I'll pay today? https://www.upwork.com/jobs/~01ddd43b69a1376ed2 |
Sorry, I have another contract open here https://www.upwork.com/jobs/Messages-are-sent-twice-when-there-unstable-internet-connection-4214_%7E018c22cb61e93a114c. Also, you mentioned you were able to reproduce the issue. so Did messages get repeated on refreshing the page? |
That one is set to pay in a few days so I'll just let that 'run it's course' and close this. Sound good? |
Ok, sure. Anything works but am I eligible for a bonus here, I reported the issue? I didn't create it as I was not familiar with the bonus part at that time when this issue was created 5 months back. But it is good if you can release the payment today for that contract. 🙏 |
Paid the other one. Unfortunately the bonus is only available for creating issues in GH, at least up til now. |
Sorry @mallenexpensify But this is not a duplicate of #4214. This is issue happens when the page is refreshed but other when there are internet issues. Both are different issues. In my last comment, I was talking about the two contracts for this job on the Upwork. |
Also about creating the GH issue, All of the content on the issue description was provided by me. Even the reproduction steps so I still think that It should be eligible for that Bonus but thanks for the consideration. |
Chatted with @parasharrajat 1:1 about this, he was not compensated for reporting or fixing this specific issue because payment of $250 was issued for #4214 (without bonus) so adding $250 as a bonus for reporting the issue (and... fixing it with a PR that fixed both issues.) |
Thanks, @mallenexpensify. Appreciate it. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Only 1 message should be displayed.
Actual Result:
Message is sent twice when refreshing the page after coming back online.
Action Performed:
Workaround:
If the user does not refresh the page only 1 message is displayed.
Platform:
Where is this issue occurring?
Web ✔️
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.24-1
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
OFFLINE.mp4
Expensify/Expensify Issue URL:
From @parasharrajat https://expensify.slack.com/archives/C01GTK53T8Q/p1618602399353800
Upwork job: https://www.upwork.com/jobs/~0151bfc06bb91fc01c
The text was updated successfully, but these errors were encountered: