st2 icon indicating copy to clipboard operation
st2 copied to clipboard

Cannot delete rule with <ENTER> key in the last part of the name

Open wcomicho opened this issue 1 year ago • 1 comments

SUMMARY

Create a rule with key as the last character.

STACKSTORM VERSION

st2 3.8.0, on Python 3.8.10

OS, environment, install method

Ubuntu, VM, one line install

Post what OS you are running this on, along with any other relevant information/

Only running python sensors reading data from the OPC servers

Steps to reproduce the problem

Click -> Rules -> Create Rule

Name: Put "Test" and with <ENTER> key on the last part. Cursor is on the next line(NOTE: did not notice it at first. ) Pack: Default Trigger: Custom sensor reading OPC data Criteria: None Action: Send Email

Click The Create button

Expected Results

Successful creation of the rule with no errors

Actual Results

Unable to retrieve the rule "default.Rule ROR Active Power ". See details in developer tools console.

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

wcomicho avatar Aug 03 '23 00:08 wcomicho

have you tried deleting it via API?

fdrab avatar Aug 11 '23 03:08 fdrab