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

slackbridge_import command doesn't work #16338

Closed
antkaz opened this issue Jan 27, 2020 · 0 comments · Fixed by #16645
Closed

slackbridge_import command doesn't work #16338

antkaz opened this issue Jan 27, 2020 · 0 comments · Fixed by #16645

Comments

@antkaz
Copy link
Contributor

antkaz commented Jan 27, 2020

Description:

After #11346 a slash command /slackbridge-import doesn't work.

Steps to reproduce:

  1. Enable and setting a slackBridge
  2. write the command /slackbridge-import

Expected behavior:

New messages imported

Actual behavior:

I got an error:
SlackBridge got an error while importing your messages at slack-bridge-dev: Cannot read property 'importMessages' of undefined

Server Setup Information:

  • Version of Rocket.Chat Server: 2.4.0
  • Operating System: macOS
  • Deployment Method: local
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 8.7
  • MongoDB Version: 4.0

Relevant logs:

I20200127-17:56:49.965(5)? Exception while invoking method 'slashCommand' TypeError: Cannot read property 'importMessages' of undefined
I20200127-17:56:49.966(5)?     at Object.SlackBridgeImport [as callback] (app/slackbridge/server/slackbridge_import.server.js:32:21)
I20200127-17:56:49.966(5)?     at Object._runningSlashCommand [as run] (app/utils/lib/slashCommand.js:28:42)
I20200127-17:56:49.966(5)?     at MethodInvocation.slashCommand (app/utils/lib/slashCommand.js:83:24)
I20200127-17:56:49.966(5)?     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1771:12)
I20200127-17:56:49.966(5)?     at DDP._CurrentMethodInvocation.withValue (packages/ddp-server/livedata_server.js:719:19)
I20200127-17:56:49.966(5)?     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
I20200127-17:56:49.966(5)?     at DDPServer._CurrentWriteFence.withValue (packages/ddp-server/livedata_server.js:717:46)
I20200127-17:56:49.966(5)?     at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
I20200127-17:56:49.966(5)?     at Promise (packages/ddp-server/livedata_server.js:715:46)
I20200127-17:56:49.966(5)?     at new Promise (<anonymous>)
I20200127-17:56:49.966(5)?     at Session.method (packages/ddp-server/livedata_server.js:689:23)
I20200127-17:56:49.966(5)?     at packages/ddp-server/livedata_server.js:559:43
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 a pull request may close this issue.

1 participant