Werk #19885 · Jul 27, 26
Fix crash when a predefined condition's unique ID contains a dash
Previously, if a Predefined condition had a unique ID containing a dash (e.g. "my-condition"), creating or editing any rule crashed with an error similar to:
Internal error: 'my-condition' is not a valid, non-reserved Python identifier
This affected all rules, not just the one using the predefined condition. This change fixes that behavior and now dash containing predefined rules unique ID are allowed
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p11All Editions