Details
-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
7.73.0.Final
-
None
-
2022 Week 38-40 (from Sept 19), 2022 Week 41-43 (from Oct 10)
-
-
Low
-
NEW
-
NEW
-
---
-
---
Description
Hi, I'm not sure if I put this issue in the right component.
Considering the below DRL. Parent is a fact type and methodToGetChild1 is a method in this fact class :
package org.mortgages; rule "test" dialect "mvel" when Parent(methodToGetChild1("IAmAParameter") > 5 ) then end
When calling
RuleModelDRLPersistenceImpl.getInstance().unmarshal
on this drl, the method 'methodToGetChild1' is recognized as field instead of fact method. This is due to expression detection. Cf linked pull request.