Open iternovskyi opened 7 years ago
I can confirm this bug, happens also in Chrome, seems to be a javascript only issue, as sending emails works fine, just this resend button UI is broken.
I got Rocketchat 0.58.0-rc.0
From The browser [Firefox 54.0 (64-bit)] Log (replaced my URL with demo.rocket.chat)
unreachable code after return statement[Learn More] 47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:11:624767
TypeError: o.emails[0].address is not a function[Learn More] 47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:235:54168
click #resend-verification-email https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:235:54168
e.prototype.events/r[i]</</< https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:79:38050
e._withTemplateInstanceFunc https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:79:37631
e.prototype.events/r[i]</< https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:79:38002
i/</</</< https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:79:26969
f._withCurrentView https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:79:23053
i/</</< https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:79:26930
a/this.delegatedHandler</< https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:79:9114
dispatch https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:11:1337117
add/h.handle https://demo.rocket.chat/47c8428d540aedcfa5bb6fad1d6bae5a61ce3cb2.js:11:1335163
In rocketchat I got the following in the log (when full logging is enabled, I redacted the secret and other identifiable information besides my own username.)
I must note that the initial mail (when registering) does work only the resend mail function fails
Aug 07 08:37:28 Rocketchat1 RocketChat[1367]: rocketchat_logger rocketchat_logger.js:376 Meteor ➔ method saveUserProfile -> userId: <<USER ID REDACTED>> , arguments: { '0':
Aug 07 08:37:28 Rocketchat1 RocketChat[1367]: { typedPassword: '<<SUPER SECRET PASSWORD TOKEN>>',
Aug 07 08:37:28 Rocketchat1 RocketChat[1367]: realname: 'Sysosmaster',
Aug 07 08:37:28 Rocketchat1 RocketChat[1367]: email: '<<NEW EMAIL SUPPLIED>>' },
Aug 07 08:37:28 Rocketchat1 RocketChat[1367]: '1': {} }
Aug 07 08:37:28 Rocketchat1 RocketChat[1367]: rocketchat_logger rocketchat_logger.js:376 Meteor ➔ method setEmail -> userId: <<USER ID REDACTED>> , arguments: { '0': '<<NEW EMAIL SUPPLIED>>' }
Aug 07 08:37:30 Rocketchat1 RocketChat[1367]: rocketchat_logger rocketchat_logger.js:376 Meteor ➔ method UserPresence:online -> userId: 7ruBApudMSRncQRnf , arguments: {}
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: rocketchat_logger rocketchat_logger.js:376 Meteor ➔ method spotlight -> userId: <<USER ID REDACTED>> , arguments: { '0': '',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: '1':
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: [ { _id: '<<USER ID REDACTED>>',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: emails: [Object],
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: username: 'sysosmaster',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: active: true,
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: customFields: [Object],
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: name: 'Sysosmaster',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: roles: [Object],
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: services: [Object],
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: settings: [Object],
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: status: 'online',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: statusConnection: 'online',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: statusDefault: 'online',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: utcOffset: 2 },
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: '<<User2>',
Aug 07 08:37:31 Rocketchat1 RocketChat[1367]: '<<User3>>' ],
Related to #7577 and fixed in #7758 .
I have tested this on 0.62 Cloud using Chrome 64.0.3282.167 (Official Build) (64-bit) and this is still an issue.
This still isn't working. I followed https://rocket.chat/docs/administrator-guides/email/setup/ and set it up with https://sendgrid.com. SMTP Test Email is working.
@geekgonecrazy This is still an issue as mentioned by @avimanyu786 Could someone take a look at this? :)
@renatobecker I'm still curious if someone can get back to this issue that's still a problem :)
Same problem
Version 3.17.0 Deployment ID xxx Apps Engine Version 1.27.1 Node Version v12.22.5 Database Migration 228 MongoDB 4.0.3 / mmapv1 (oplog Enabled)
Description:
Server Setup Information:
Steps to Reproduce:
In system logs have found anything. Checked Browser's Debug Console ( FF 54.0.1 and Chrome 59.0.3071.115 ):