Skip to content
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

Bug: Safari 8 - Retry button doesn't show up on messages that fail to send when off-line after reconnecting #1405

Closed
DschingisKahn opened this issue Nov 12, 2015 · 12 comments

Comments

@DschingisKahn
Copy link

The situation:

  • Safari as browser
  • I sent a message in my Town Square channel
  • my internet connection was poor
  • the message never got sent
  • the message keeps popping up on the bottom of the screen, just above the input field, in the Town Square channel - showing a loading animation on the right side
  • I cannot select the delete option (or any other option) to get rid of it

There is no sign of the message in the database and it does not show up in another browser (which makes sense of course). Clearing the cache brought no luck though.

When inspecting the element, I see that the data-reactid attribute ends with $undefinedpostKey and one of the nested div's has id="undefined_message", class="post-waiting" and again a data-reactid attribute that contains $undefinedpostKey and $undefined_message.

The console throws the following warning: Warning: flattenChildren(...): Encountered two children with the same key, '.1:$undefinedpostKey'. Child keys must be unique; when two children share a key, only the first child will be used.

@it33
Copy link
Contributor

it33 commented Nov 12, 2015

Hi @DschingisKahn, appreciate the report, can you let us know which Mattermost version you're on and which version of Safari?

There is a known issue on Safari 8 in v1.2-RC1,

@it33 it33 added the Awaiting Submitter Action Blocked on the author label Nov 12, 2015
@it33
Copy link
Contributor

it33 commented Nov 13, 2015

This repros, ticket filed, progress can be tracked here: https://mattermost.atlassian.net/browse/PLT-1154

@it33 it33 removed the Awaiting Submitter Action Blocked on the author label Nov 13, 2015
@it33 it33 closed this as completed Nov 13, 2015
@DschingisKahn
Copy link
Author

Version 1.1.0 with Safari 8.0.7.

The linked ticket refers to another situation, where you are at least able to hit "retry". I added a screenshot for clarification purposes :-).

screen shot 2015-11-13 at 09 22 37

@it33
Copy link
Contributor

it33 commented Nov 13, 2015

Thanks @DschingisKahn, re-opening as what you're describing we weren't able to repro. Would you be interested in trying it out on the test server our latest release at https://gitlab.mattermost.com/community/ and see if the issue is still there?

@it33 it33 reopened this Nov 13, 2015
@DschingisKahn
Copy link
Author

Will try and report back!

@DschingisKahn
Copy link
Author

Safari 8 is not supported by that version, it seems :-).

@it33
Copy link
Contributor

it33 commented Nov 22, 2015

Hi @DschingisKahn, sorry, I forgot that Safari 8 support had been removed.

There were multiple issues with Safari 8 discovered close to the release of Mattermost v1.2, and given the technical cost of supporting it, and declining market share, we ended up giving up support.

Just tested on Chrome/Win7 using throttle to toggle online/offline and the Retry button seems to be working.

Just curious, could you help us understand more about why you're using Safari 8 and Safari 9?

It was a back-and-forth decision on making Safari 9 the minimum requirement,

@it33 it33 changed the title Unsent message keeps showing up on bottom of screen Bug: Safari 8 - Retry button doesn't show up on messages that fail to send when off-line after reconnecting Nov 22, 2015
@it33 it33 added Awaiting Submitter Action Blocked on the author and removed Awaiting Submitter Action Blocked on the author labels Nov 22, 2015
@DschingisKahn
Copy link
Author

Thanks. It seems to be limited to Safari indeed (colleague had the same issue). I did not update yet to El Capitan, so that is why I am stuck with Safari 8 - no other reason.

Let's not waste more time on this then (this feels a bit like good old IE times :-))

@it33
Copy link
Contributor

it33 commented Nov 27, 2015

Hi @DschingisKahn,

I've been able to repro the issue on our nightly builds server in Chrome/Win7:
screenclip

Since it's not limited to Safari, I'm switch this ticket back to the original name. Sorry for the back and forth.

I'm not yet able to get a consistent repro, but we know that it's not-browser specific.

Thanks again for the report! This is something we need to fix.

@DschingisKahn
Copy link
Author

Hi @it33,

Glad you could reproduce it, that's a start :). A few colleagues encountered it in the last days. It happens when our VPN connection drops at the same time a message is sent. Safari and Chrome indeed.

@lfbrock
Copy link
Contributor

lfbrock commented Feb 4, 2016

Closing this issue, it will tracked in Jira

@lfbrock lfbrock closed this as completed Feb 4, 2016
@lfbrock
Copy link
Contributor

lfbrock commented Feb 4, 2016

Accepting pull request ticket here for adding the option to cancel sending a pending message: https://mattermost.atlassian.net/browse/PLT-1042

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants