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

Can't view Threads in div.contextual-bar for a specific channel #19268

Closed
nooblag opened this issue Oct 16, 2020 · 9 comments
Closed

Can't view Threads in div.contextual-bar for a specific channel #19268

nooblag opened this issue Oct 16, 2020 · 9 comments

Comments

@nooblag
Copy link

nooblag commented Oct 16, 2020

Description:

Threads view does not work for a specific channel. We have imported Slack data but the issue only seems to manifest on a specific channel and none others. Channel name with issue does not have any special chars or anything, and the total number of messages is probably < 100.

Steps to reproduce:

  1. Open channel
  2. Click on "Threads" view

Expected behavior:

Threads panel opens and can navigate threaded messages as normal.

Actual behavior:

Threads panel appears to load briefly, then appears blank.

Untitled

Server Setup Information:

  • Version of Rocket.Chat Server: 3.7.1
  • Operating System: Ubuntu 18.04.5 LTS
  • Deployment Method: TAR, manual
  • Number of Running Instances: 1
  • DB Replicaset Oplog: ?
  • NodeJS Version: v12.14.0
  • MongoDB Version: 4.0.19

Client Setup Information

  • Desktop App or Browser Version: Desktop App 2.17.11 and Browsers Firefox and Vivaldi
  • Operating System: Linux Mint 19.3 and Windows 10

Additional context

We have imported Slack data.

Relevant logs:

No server logs, but this from Browser console:

4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79 Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 1593867505.011200, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:31626)
    at La (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:55964)
    at Va (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:59296)
    at Ha (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:59163)
    at qa (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:58882)
    at Wa (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:59654)
    at $a (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:59688)
    at r (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79:28279)
    at Module.g [as formatDateAndTime] (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423:199455)
    at Object.time (https://***REMOVED SENSITIVE VALUE***/4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423:850179)
w @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
La @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
Va @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
Ha @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
qa @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
Wa @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
$a @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
r @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:79
g @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
time @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
t._withTemplateInstanceFunc @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
p.call @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:286
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
t._withTemplateInstanceFunc @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h._withCurrentView @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
unless:condition @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
_compute @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
t @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
o.autorun @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
h.View.autorun @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
n @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
o.nonreactive @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h._withCurrentView @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h._fireCallbacks @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h._createView @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h._materializeView @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
t @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h._materializeDOM @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h._materializeDOM @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
o.nonreactive @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
h._materializeView @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
h.render @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:218
getDomOfRoom @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
setTimeout (async)
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
y @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:423
_compute @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
_recompute @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
o._runFlush @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
a @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
postMessage (async)
u @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
_ @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
invalidate @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
changed @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:145
t.runTask @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
t.flush @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
t.drain @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
insert @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:145
update @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:145
update @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:167
o.each.c.Collection.<computed> @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:304
Object.entries.forEach.i.<computed> @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:306
upsert @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:167
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:306
r.withValue @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
directOp @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:306
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:306
Object.entries.forEach.i.<computed> @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:306
u @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:425
m @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:425
async function (async)
m @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:425
(anonymous) @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:425
_compute @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
_recompute @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
o._runFlush @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
a @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
postMessage (async)
u @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:1
_ @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
invalidate @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
changed @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:143
statusChanged @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:157
_connected @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:157
socket.onopen @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:157
r.dispatchEvent @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:157
k._dispatchOpen @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:157
k._didMessage @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:157
o.ws.onmessage @ 4465ea78e0e458dea9b30af79b6a71ea87adfd73.js?meteor_js_resource=true:157
Show 16 more frames
@MartinSchoeler
Copy link
Contributor

@nooblag does the message that start the thread have anything in special? Since I'm not being able to reproduce this even using slack imports.

@nooblag
Copy link
Author

nooblag commented Oct 23, 2020

Hi there, do you mean special characters? If so, that's a good question.

Going back to the very top/start of the channel, in the very first thread, there are asterisks (*) and left and right single quotes (‘’) used in the first message; a :slight_smile: emoticon; and a HTTP link. Nothing else other than that. The reply in that thread (which is the only reply) contains a HTTPS link.

The second thread of the channel contains an @ mention to an old user whose account has now been deactivated for many months. Perhaps that is causing a problem? Unfortunately I am not in a position to activate/deactivate the specific user to test that theory, but maybe that's causing a problem?

Other threads I'm looking at have similar characteristics: punctuation chars and/or links; and old @ mentions.

@nooblag
Copy link
Author

nooblag commented Nov 14, 2020

This issue still persists in 3.7.1.

@nooblag
Copy link
Author

nooblag commented Dec 6, 2020

Issue persists in 3.9.0

@nooblag
Copy link
Author

nooblag commented Jan 5, 2021

Issue persists in 3.9.3

@nooblag
Copy link
Author

nooblag commented Jan 15, 2021

Issue persists in 3.10.3.

@nooblag
Copy link
Author

nooblag commented Feb 15, 2021

Issue persists in 3.11.1

@nooblag
Copy link
Author

nooblag commented Feb 16, 2021

Perhaps this problem has something to do with #18983 ? i.e. If messages in the thread have no username or something, or other problematic characters, the thread in Rocket Chat crashes? Please see this comment #18983 (comment) for an explanation of what I mean?

@nooblag
Copy link
Author

nooblag commented Jun 10, 2023

Closing, as gave up on Rocket Chat many years ago, bugs go unfixed.

@nooblag nooblag closed this as completed Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants