Skip to content

Don't show error triangles for disabled nodes #6039

Closed

Description

@mobamoba

Current Behavior

I genuinely don't know if this is a bug or a feature so if I've mislabeled it a bug, apologies. Basically in 5.09 you get the error triangle on the flow tab when your flow has an error in a disabled node. I keep all my function nodes, even when there are errors, as a record of what I tried and simply disable them in the flow so they don't affect anything.

While the error showing on that particular node makes sense, I think it's a bug have a disabled node generating a flow-tab level error notification since the purpose of that notification is meant to show the user when their actual working enabled nodes have an error and not archived disabled nodes which a user might be keeping for whatever reason in their workflow.

Image

Expected Behavior

The error triangle should only be tied to enabled nodes.

Steps To Reproduce

Have a disabled function node with an error.

Example flow

paste your flow here

Environment

  • Node-RED version: 5.09
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Activity

  1. GogoVega commented on Oct 27, 2026

    @GogoVega
    Contributor

    Seems reasonable 🙂

  2. rvangeijtenbeek commented on Oct 29, 2026

    @rvangeijtenbeek

    @GogoVega there's a related issue/bug (also 5.0.9), I could file a separate issue if wanted.

    • clean empty flow
    • drop 'range' node in the canvas
    • now the node and flow tab get the error decoration because the range node is not configured
    • undo, or delete the range node
    • the error decoration stays on the flow
    • this persists when you afterwards add a properly configured range node, at least until a reload of the editor
  3. GogoVega commented on Oct 29, 2026

    @GogoVega
    Contributor

    Thank you @rvangeijtenbeek.
    I can confirm the bug; I will fix it in a separate PR.
    FYI: I am aware that the history is messed up within subflows. I am also working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions