-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.11.1.GA, 7.13.2.GA
-
None
-
RHDM
RHPAM
-
False
-
None
-
False
-
---
-
---
-
-
Customer wants to use matches clause on the list of values. When they used expression editor to define a condition on the string. e.g:
MATCHES(“HYBRIDPARTYFRAUD.*”)
After saving and then they reopened the rule they observed the MATCHES clause has been removed, and replaced with empty equals clause.
See attached screenshots:
1. First screenshot creates this as source:
```
package com.space.hello_world;
import java.lang.Number;
import java.lang.String;
rule "test"
dialect "mvel"
when
DcdRequest( $ruleInfo : brainiacRuleInfo != null )
(String( matches("HYBRIDTINYFRAUD.*")) from $ruleInfo)
then
end
```
2. after close and reopen I see this:
```
package com.space.hello_world;
import java.lang.Number;
import java.lang.String;
rule "test"
dialect "mvel"
when
DcdRequest( $ruleInfo : brainiacRuleInfo != null )
(String( ) from $ruleInfo)
then
end
```