[BUG REPORT] Rule Machine v5.1.8

@bravenel

I have run into what seems like a bug in Rule Machine. I have a rule that I wanted to clone and change a couple of actions and the trigger action. Originally the trigger action was a virtual switch turning on and off. I deleted that trigger action and added a local endpoint trigger action. After making my changes and saving the rule, I went back into it to copy the local endpoint URL. When I go into the local endpoint trigger action, the screen is blank and I have errors in my logs. Below are screenshots. This error seems to only occur with cloned rules because I created a new test rule and was able to go back into the trigger action and retrieve the endpoint URL with no issue.


The screenshot below is what the rule trigger looks like when I click on it to try to retrieve the endpoint URL.