n8n icon indicating copy to clipboard operation
n8n copied to clipboard

Mailgun node HTML doesn't accept expression

Open timkley opened this issue 10 months ago • 4 comments

Bug Description

When trying to set the HTML input of the Mailgun node from Fixed to Expression it won't change, thus not allowing to use variables from previous node in the HTML.

To Reproduce

  1. New workflow
  2. Add Mailgun node
  3. HTML input: Click on "Expression"
  4. It won't change

Expected behavior

It will change the input mode to Expression

Operating System

Docker

n8n Version

1.34.2

Node.js Version

x

Database

PostgreSQL

Execution mode

main (default)

timkley avatar Apr 09 '24 07:04 timkley

Hey @timkley,

Thanks for reporting this one, I have just taken a quick look and it looks like we updated the html editor a while back and forgot to remove the expression option from that node.

You can now just input expressions directly into that field and they will just work without having to select an expression. I have created NODE-1298 to remove the expression toggle on the field and to add a note to let users know.

Joffcom avatar Apr 09 '24 08:04 Joffcom

Hi @Joffcom,

I've only tried setting it to expression because JavaScript was not interpreted, see the screenshots:

N8N Node: Xnapper-2024-04-09-14 57 29

Mail: Xnapper-2024-04-09-14 57 33

I've also tried updating N8N to the latest version to see if it's an issue with v1.34.2, but it seems like the docker registry doesn't have the most up to date version.

timkley avatar Apr 09 '24 12:04 timkley

Hey @timkley,

That is interesting, I guess there is a bit more to do there I will update the ticket. Docker does have the newest release but the latest tag is not the actual latest release we use 2 tags latest and next with next being slightly newer. We tend to change the labels once a week once we are confident the release is ok.

Joffcom avatar Apr 09 '24 14:04 Joffcom

Thank you for the explanation and updating the ticket! :)

timkley avatar Apr 09 '24 14:04 timkley