Acknowledgements
Describe the bug
The SOAR Playbook Builder's createRule() flow accesses this.rule.id
without first verifying that this.rule exists. When the component is
entered without a pre-selected rule (i.e. the user clicks Create Rule
from scratch) the access throws TypeError: Cannot read property 'id' of undefined, leaving the builder in a broken state.
Regression Issue
Expected Behavior
createRule() should guard against a missing rule object: if this.rule
is undefined it should proceed in creation mode; only when both this.rule
and this.rule.id are present should it dispatch to the edit path.
Current Behavior
Opening the Playbook Builder and clicking Create Rule without a prior
selection throws a JavaScript TypeError in the browser console:
TypeError: Cannot read property 'id' of undefined
at PlaybookBuilderComponent.createRule (playbook-builder.component.ts)
The create / edit dialog never opens.
Reproduction Steps
- Open SOAR → Playbook Builder.
- Click Create Rule before selecting any existing rule.
- Observe the
Cannot read property 'id' of undefined exception in the
browser console; the rule editor does not open.
Possible Solution
No response
Additional Information/Context
No response
UTMStack Version
v11.2.8
Operating System and version
Hypervisor and Version | Server Vendor and Model
Browser and version
Acknowledgements
Describe the bug
The SOAR Playbook Builder's
createRule()flow accessesthis.rule.idwithout first verifying that
this.ruleexists. When the component isentered without a pre-selected rule (i.e. the user clicks Create Rule
from scratch) the access throws
TypeError: Cannot read property 'id' of undefined, leaving the builder in a broken state.Regression Issue
Expected Behavior
createRule()should guard against a missingruleobject: ifthis.ruleis undefined it should proceed in creation mode; only when both
this.ruleand
this.rule.idare present should it dispatch to the edit path.Current Behavior
Opening the Playbook Builder and clicking Create Rule without a prior
selection throws a JavaScript
TypeErrorin the browser console:The create / edit dialog never opens.
Reproduction Steps
Cannot read property 'id' of undefinedexception in thebrowser console; the rule editor does not open.
Possible Solution
No response
Additional Information/Context
No response
UTMStack Version
v11.2.8
Operating System and version
Hypervisor and Version | Server Vendor and Model
Browser and version