Open designsimply opened 5 years ago
I was re-checking this and I found that the comment in question actually did go through eventually at https://madefortesting190318.wordpress.com/2019/03/20/yoga-for-your-back/comment-page-1/#comment-2 ! 😱
However, the original report still stands and needs to be checked:
Got a weird bug: tried to leave a comment on bad wifi, it just silently wasn’t working. Turned off WiFi to switch to LTE
Got a retry screen I missed
And this
The comment appears to have been totally lost.
Been trying to reproduce this issue all day and succeeded twice and only in a reply to a reply on a comment.
Working with @designsimply to try and reproduce more consistently.
I tried the same steps again, over a longer time period, trying to replicate losing a comment when posting via Notifications from a bad network connection and here's what I found:
I logged in as designsimply
and using WPiOS 11.9.1 on iPhone 6S iOS 12.1.4, I left two comments last night as replies. Then I left the phone on and in an area with bad wifi and left the phone on until the morning.
For the first comment, I never saw the "Try Again" prompt and the comment has not appeared so far:
For the second comment, I did see the "Try Again" prompt and tapped it and the comment published at that time with a timestamp on Mar 26 even though I created and sent the comment on Mar 25.
@yaelirub perhaps commenting multiple times in a row from a truly bad connection will result in the first comments from the session failing while the latest ones go through? To be honest, this feels like a very elusive bug and I'm not sure whether it can be fixed without making the whole commenting structure work offline which feels like part of project work and something to spend more time focusing on as a long-term solution compared to spending too much time here (although time spent here is really good to a point). Definitely worthy of discussion from the User Expectations team and from @elibud. Consider making that part of product work with a deadline of end of June 2019.
This is a difficult one to reproduce consistently but I think I got it (asking @designsimply to confirm).
So it seems like replying to a reply (couldn't reproduce consistently with replying directly to a comment) on an unstable connection and then choosing to "try again" on no connectivity will result in a comment loss.
I agree with @designsimply saying that the fix for this issue feels like part of a project work. But I have a couple of questions, @elibud :
Yes, that alert is definitely confusing. If there is a common pattern we are using somewhere else let's update it to follow it. If not let's make sure we address issues like this one in the offline project.
https://github.com/wordpress-mobile/WordPress-iOS/pull/11817 address improving the messaging experience when replying/ commenting. This issue still remains and will be tackled in Offline support.
Steps to reproduce:
Result: comment fails to post silently and is lost.
Tested with WP Internal 12.0.0.20190314 on iPhone 6S iOS 12.1.4 while replying to a comment on
madefortesting190318.wordpress.com
which is a WordPress.com Free site.* I throttled my network connection by going into a back room in my place where the wifi doesn't reach and is terrible. I don't have phone service connected to my iPhone so I couldn't do a wifi-to-cellular-network switch as part of the test but that may be worth trying if you have difficulty replicating the bug.
h/t @mattmiklic for the original report at p4a5px-2mi-p2.