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

Send Email node trim HTML at around 6500+ character #4999

Closed
stwonary opened this issue Dec 21, 2022 · 5 comments
Closed

Send Email node trim HTML at around 6500+ character #4999

stwonary opened this issue Dec 21, 2022 · 5 comments

Comments

@stwonary
Copy link
Contributor

Describe the bug
On the Send Email node when manipulating on HTML's Expression mode or Fixed Mode text is trimmed

To Reproduce
Steps to reproduce the behavior:

one way to reproduce:

  1. Create a Send Email Node
  2. Populate with a Email template with variable replacing on Fixed Mode
  3. Switch to Expression Mode. (Bug is visible at the end of the text field)
  4. Switch back to Fixed Mode. (Bug is visible at the end of the text field)

second way to reproduce

  1. Create a Send Email Node
  2. Populate with a Email template with variable replacing on Expression Mode
  3. Close de Window. Save it
  4. Reopen Email Email node
  5. Text is trimmed (Bug is visible at the end of the text field)

Expected behavior
No trimmed text

Environment (please complete the following information):

  • OS: Running with Docker
  • n8n Version: 0.208.1
  • Database system: Postgres 11
  • Operation mode: queue

Additional context

Screen.Recording.2022-12-21.at.1.12.09.PM.mov
@Alex-Sh
Copy link

Alex-Sh commented Dec 21, 2022

Same for me, it's true for every Expression text field, like SET.
Also when text is long it's not loading to Expression Editor UI without clicking on the field.

OS: CentOS Linux
n8n Version: 0.208.1
Database system: Mysql

https://www.loom.com/share/24a0a6fba8074420af36f52925d90f88

@wifiuk
Copy link

wifiuk commented Dec 22, 2022

@Alex-Sh
Copy link

Alex-Sh commented Dec 23, 2022

@wifiuk It looks related, but it's not only UI issue, the content of the expression field is kept truncated after closing the editor. So right now it's impossible to work with large text or HTML templates with expression.

@stwonary
Copy link
Contributor Author

seems related. . the bug is in the TextField and not just the Email Node

@netroy netroy closed this as completed Dec 23, 2022
@netroy netroy added the Upcoming Release Will be part of the upcoming release label Dec 23, 2022
@janober
Copy link
Member

janober commented Dec 23, 2022

Fix got released with [email protected]

@janober janober removed the Upcoming Release Will be part of the upcoming release label Dec 23, 2022
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

No branches or pull requests

5 participants