Skip to content

[BUG] Conditional manual values not cast to string, comparison fails #893

@matKlju

Description

@matKlju

Bug description:
In Conditional, when values are entered manually, the left-side value is not cast to a string, causing string comparisons to fail (e.g. cat == "cat").

Expected behavior:
Manually entered values on both sides should be cast to strings (or consistently typed), allowing correct comparison and rule evaluation.

Screenshots:
N/A

Additional information:
Repro steps:

  1. Add Conditional node
  2. Open Edit
  3. Add a rule
  4. Switch both value fields to manual entry
  5. Enter cat on the left side
  6. Enter cat on the right side
  7. For each logic output, add Message to client:
    • TRUE → WIN
    • FALSE → FAIL
  8. Add End Service node
  9. Save the service
  10. Test the service

Result:

  • Comparison fails
  • Logic does not resolve as expected due to left-side value not being cast to string

Error log:
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3.2

Type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions