Rocket.chat: Starting a discussion stopped working on 3.1.0

Created on 10 Apr 2020  路  6Comments  路  Source: RocketChat/Rocket.Chat

Description:

The attempt to open a discussion (from a private conversation) on 3.1.0 shows "Internal server error"

Relevant logs:

I20200410-10:08:18.705(0) Exception while invoking method 'createDiscussion' TypeError: Cannot read property 'localeCompare' of undefined
     at app/lib/server/functions/createDirectRoom.js:31:74 
     at Array.sort (<anonymous>)
     at createDirectRoom (app/lib/server/functions/createDirectRoom.js:31:32)
     at createRoom (app/lib/server/functions/createRoom.js:16:10)
     at create (app/discussion/server/methods/createDiscussion.js:89:21)
     at MethodInvocation.createDiscussion (app/discussion/server/methods/createDiscussion.js:137:10)
     at MethodInvocation.methodsMap.computed> (app/lib/server/lib/debug.js:67:34)
     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1771:12)
     at packages/ddp-server/livedata_server.js:719:19
     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
     at packages/ddp-server/livedata_server.js:717:46
     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
     at packages/ddp-server/livedata_server.js:715:46
     at new Promise (<anonymous>)
     at Session.method (packages/ddp-server/livedata_server.js:689:23)
     at packages/ddp-server/livedata_server.js:559:43
threads / discussions bug

Most helpful comment

fixed by https://github.com/RocketChat/Rocket.Chat/pull/17282

we'll ship a hotfix release including the fix by today

All 6 comments

After looking at the source code I think it may be relevant to mention that all users involved are imported from LDAP

@pehlert verified. This is happening.

Confirm that bug from multi DM also.

fixed by https://github.com/RocketChat/Rocket.Chat/pull/17282

we'll ship a hotfix release including the fix by today

Thanks so much guys, keep up the great work!

Was this page helpful?
0 / 5 - 0 ratings