n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
50.63k stars 8.27k forks source link

Generated filter from drag and drop is faulty (non ascii caracters) #7012

Open mont5piques opened 1 year ago

mont5piques commented 1 year ago

Describe the bug When a column used for filtering (json output for example) contains non-ascii caracters, the generated filter when using drag and drop is faulty. The generated javascript is for example $json.Création which is an invalid javascript statement.

To Reproduce

image

Steps to reproduce the behavior:

  1. Ensure to create a json output node that generates a non-ascii column (not value, very important)
  2. Create a filter node on any workflow after this json output node
  3. Drag and drop the non-ascii column to Value 1

Expected behavior Use brackets in the generated javascript like it is the case when column contains spaces.

Environment (please complete the following information):

Additional context None

Joffcom commented 1 year ago

Hey @mont5piques,

Thanks for the report, This has been reported before but we have not yet fixed it. Our internal tracking reference for this is ADO-939.