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

🐛 Bug: Send invitation causes "Cannot read properties of undefined (reading 'replace')" #8493

Closed
1 task done
lorrod opened this issue May 15, 2024 · 0 comments · Fixed by #8505
Closed
1 task done
Labels
🐛 Type: Bug Something is broken or incorrect unexpectedly.

Comments

@lorrod
Copy link

lorrod commented May 15, 2024

Please confirm if bug report does NOT exist already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

Setup SMTP client, and then update nocodb from 0.205.1 to 0.207.1

Desired Behavior

Email successfully sent

Project Details

Project Details
Node: v20.12.1
Arch: x64
Platform: linux
Docker: true
RootDB: pg
PackageVersion: 0.207.1
Test email from plugin page is working: yes

Error trace


[Nest] 9  - 05/15/2024, 11:36:36 PM   ERROR [GlobalExceptionFilter] Cannot read properties of undefined (reading 'replace')
TypeError: Cannot read properties of undefined (reading 'replace')
    at t.sanitiseEmailContent (/usr/src/app/docker/main.js:2:1968177)
    at BaseUsersService.sendInviteEmail (/usr/src/app/docker/main.js:2:1713488)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OrgUsersService.userInviteResend (/usr/src/app/docker/main.js:2:1870680)
    at async OrgUsersController.userInviteResend (/usr/src/app/docker/main.js:2:443647)
@dstala dstala added the 🐛 Type: Bug Something is broken or incorrect unexpectedly. label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something is broken or incorrect unexpectedly.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants