I was trying to perform a "set color" in a new RM5.1 rule....
I selected "CustonColor" then tried to toggle the "Variable Color" and it refused to toggle on.
When I clicked into the "rgb" constant blank--the rule blew up with an "Unexpected Error" of "Error: String index out of range: 3".
I have spent about 2.5 hour editing this rule so far--now, I get that error every time I try to edit the "Run" actions in this rule.
The log shows this:
Note: I can enter the rule far enough to 'see' the RM code. The "Set Color" line is not visible.
I was able to re-create the issue--by creating the following rule:
-
The toggle will not toggle
-
Type "55" in the RGB blank and press enter/exit that field. The rule blows up immediately.
(I know it's a bit risky--but I was able to export the corrupted rule, find and change the evil "55" to "#112233", save it, then the rule imported and I was able to delete that line and continue on with my editing).