langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Starter templates contaminating behavior of core components

Open lice-reis opened this issue 1 year ago • 4 comments

Bug Description

An user reported a bug using the latest Langflow. When modifying one of the output nodes in the Research Translation Loop.json template, the behavior change is reflected globally in the Loop component in the core library. This should not happen, as changes made to a template should not affect the core components.

Discord ticket: https://discordapp.com/channels/1116803230643527710/1400746248708816926

Reproduction

Change the Research Translation Loop JSON at line 1242, modifying the variable value "selected" to "data".

Expected behavior

It is expected that the modification only affects the Research Translation Loop template. However, this change is currently impacting the Loop component globally.

Who can help?

No response

Operating System

Windows 11

Langflow Version

1.5.0

Python Version

None

Screenshot

https://github.com/user-attachments/assets/d58718b8-55d4-4b19-a202-2b9afadc8f34

Flow File

No response

lice-reis avatar Aug 05 '25 21:08 lice-reis

I'm the user in question, happy to provide further details if necessary

avonian avatar Aug 08 '25 06:08 avonian

@lice-reis, can you check if this error is still occurring?

If so, this needs to be reported (Jira) urgently.

Empreiteiro avatar Feb 05 '26 17:02 Empreiteiro

@avonian,

Great catch. Thanks for reporting this.

LE-363

andifilhohub avatar Feb 13 '26 18:02 andifilhohub

fix: #12252

andifilhohub avatar Mar 23 '26 15:03 andifilhohub