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

[FIX] Saving user preferences #12170

Merged
merged 1 commit into from
Sep 26, 2018
Merged

[FIX] Saving user preferences #12170

merged 1 commit into from
Sep 26, 2018

Conversation

sampaiodiego
Copy link
Member

Saving account preferences is giving Internal Server Error:

I20180926-14:13:22.553(-3)? Exception while invoking method 'saveUserPreferences' TypeError: Cannot read property 'clockMode' of undefined
I20180926-14:13:22.554(-3)?     at ModelUsers.setPreferences (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/rocketchat_lib.js:11608:56)
I20180926-14:13:22.554(-3)?     at MethodInvocation.saveUserPreferences (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/app/app.js:11864:29)
I20180926-14:13:22.554(-3)?     at MethodInvocation.methodMap.(anonymous function) (packages/rocketchat_monitoring.js:2731:30)
I20180926-14:13:22.554(-3)?     at MethodInvocation.methodsMap.(anonymous function) (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/rocketchat_lib.js:2503:36)
I20180926-14:13:22.555(-3)?     at maybeAuditArgumentChecks (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:1877:12)
I20180926-14:13:22.555(-3)?     at DDP._CurrentMethodInvocation.withValue (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:902:126)
I20180926-14:13:22.555(-3)?     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
I20180926-14:13:22.555(-3)?     at DDPServer._CurrentWriteFence.withValue (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:902:98)
I20180926-14:13:22.555(-3)?     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:12)
I20180926-14:13:22.556(-3)?     at Promise (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:902:46)
I20180926-14:13:22.556(-3)?     at new Promise (<anonymous>:null:null)
I20180926-14:13:22.556(-3)?     at Session.method (/Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:875:23)
I20180926-14:13:22.556(-3)?     at /Users/diegosampaio/dev/Rocket.Chat/.meteor/local/build/programs/server/packages/ddp-server.js:754:85

@sampaiodiego sampaiodiego merged commit 8ce80c2 into develop Sep 26, 2018
@sampaiodiego sampaiodiego deleted the fix-clockmode-error branch September 26, 2018 17:58
This was referenced Sep 28, 2018
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

Successfully merging this pull request may close these issues.

3 participants