Skip to content

Can't pass identical variables as parameters to function in Rules #573

Closed as not planned
@stundenblume

Description

@stundenblume

Hi,
first: Thank you so much for this very useful software. I really enjoy your work!

Seems to be a small bug wich is easily bypassable.

Problem: This don't work: action(#foo, #foo); After saving the rule, the website loads a long time and will end with an "Error: Connection Lost". After reloading the website the rule is unchanged.
This works: action(#foo, #bar);

on System#Boot then
  #foo = 0;
  #bar = #foo;
  setTimer(1, 10);
end

on action($x, $y) then
 $z = $x + $y;
end

on timer=1 then
  action(#foo, #foo);
end

Testet on the small and big PCB.
Software Version: 3.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions