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

Starting a discussion stopped working on 3.1.0 #17246

Closed
pehlert opened this issue Apr 10, 2020 · 6 comments
Closed

Starting a discussion stopped working on 3.1.0 #17246

pehlert opened this issue Apr 10, 2020 · 6 comments
Labels
Milestone

Comments

@pehlert
Copy link

pehlert commented Apr 10, 2020

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
@pehlert
Copy link
Author

pehlert commented Apr 10, 2020

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

@talheim-it
Copy link

@pehlert verified. This is happening.

@ankar84
Copy link

ankar84 commented Apr 11, 2020

Confirm that bug from multi DM also.

@ggazzo
Copy link
Member

ggazzo commented Apr 13, 2020

introduced here: #17070

@sampaiodiego
Copy link
Member

fixed by #17282

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

@pehlert
Copy link
Author

pehlert commented Apr 14, 2020

Thanks so much guys, keep up the great work!

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

No branches or pull requests

6 participants