StackStorm / StackStorm/st2

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

Open
#6,008 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

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 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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Rules > Create Rule flow and reproduce the issue using an Enter key at the end of the rule name. Check the browser developer tools console and compare the reported failure with the expected successful rule creation; done means the rule is created without the retrieval error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.