Skip to content

Workflow version diff highlights unchanged operator properties #9582

Description

@Ma77Ball

What happened?

Comparing two versions of a workflow highlights operator properties as changed even when they are identical. Any property whose value is an object or array (not a plain string or number) is always shown as changed, and a property that exists only in the newer version is never highlighted as added.

How to reproduce?

Open a workflow's version comparison for an operator that has an object- or array-valued property (for example a list or nested config). The property is highlighted as different even when both versions are identical. In code, getOperatorsDifference in workflow-version.service.ts compares values with != (reference comparison for objects/arrays) and iterates only the first operator's property keys.

Version/Branch

main

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions