n8n-io / n8n

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

Deactivated Trigger with pinned data is always used #10833

Open bastianfbr opened 1 month ago

bastianfbr commented 1 month ago

Bug Description

I'm working on a workflow with some deprecated triggers. There are just deactivated to stay like in the "history" but always linked to the real nodes. When developing, i saw that the data of the deactivated triggers is always used, even if it's deactivated.

To Reproduce

  1. Create a trigger
  2. Pin data
  3. Deactivate data and stay linked to a new node
  4. Create a new trigger and link to the new node
  5. Data from deactivated pin data will always be used

Expected behavior

When deactivating a trigger, pinned data shouldn't be used. That should be the normal behaviour...

Operating System

Windows 11

n8n Version

1.57.0

Node.js Version

18

Database

PostgreSQL

Execution mode

main (default)

Joffcom commented 1 month ago

Hey @bastianfbr,

We have created an internal ticket to look into this which we will be tracking as "GHC-236"

Joffcom commented 1 month ago

Hey @bastianfbr,

Do you have a screenshot of this? Can you also try on the latest version and see if it is an issue there as well?