You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload file and mention user at the same time in the message.
Username spotlight will not work.
Steps to reproduce:
Upload a file and write some message , mention any user at the same time.
Expected behavior:
mentioned user should be spotlight and notified.
Actual behavior:
Username spotlight will not work. Get error log message.
Server Setup Information:
Version of Rocket.Chat Server: 6.5.5
Operating System: Debian
Deployment Method: docker
Number of Running Instances: 1
DB Replicaset Oplog:
NodeJS Version: 14.21.3
MongoDB Version: 5.0.18
Additional context
Relevant logs:
Exception while invoking method 'spotlight' Error: invalid username at Proxy.findOneByUsernameIgnoringCase (server/models/raw/Users.js:388:10) at server/lib/spotlight.js:240:35 at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 => awaited here: at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at server/publications/spotlight.ts:53:21 at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 => awaited here: at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at getCurrentMethodInvocationResult (packages/ddp-server/livedata_server.js:781:32) at packages/meteor.js:365:18 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1389:31) at packages/ddp-server/livedata_server.js:791:46 at new Promise (<anonymous>) at Session.method (packages/ddp-server/livedata_server.js:739:23) at packages/ddp-server/livedata_server.js:603:43
The text was updated successfully, but these errors were encountered:
OK just let me get this clear. So bsically when you are uploading a file, in the descripton u want to mention suppose a user but on posting it it isnt getting hightlighted am I right?
Description:
Upload file and mention user at the same time in the message.
Username spotlight will not work.
Steps to reproduce:
Expected behavior:
mentioned user should be spotlight and notified.
Actual behavior:
Username spotlight will not work. Get error log message.
Server Setup Information:
Additional context
Relevant logs:
Exception while invoking method 'spotlight' Error: invalid username at Proxy.findOneByUsernameIgnoringCase (server/models/raw/Users.js:388:10) at server/lib/spotlight.js:240:35 at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 => awaited here: at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at server/publications/spotlight.ts:53:21 at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40 => awaited here: at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at getCurrentMethodInvocationResult (packages/ddp-server/livedata_server.js:781:32) at packages/meteor.js:365:18 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1389:31) at packages/ddp-server/livedata_server.js:791:46 at new Promise (<anonymous>) at Session.method (packages/ddp-server/livedata_server.js:739:23) at packages/ddp-server/livedata_server.js:603:43
The text was updated successfully, but these errors were encountered: