tkobayas opened a new issue, #6366:
URL: https://github.com/apache/incubator-kie-drools/issues/6366

   `insert` and `insertLogical` doesn't work in RuleUnit rules, because it 
inserts a fact into "DEFAULT" entry-point. It's explained in the docs.
   
   
https://kie.apache.org/docs/10.0.x/drools/drools/migration-guide/index.html#_rule_unit
   
   But it's even better to raise a build error.
   
   `update`, `modify` and `delete` still work with RuleUnit (because it simply 
affects facts in its DataSource). But also it's better to raise a build error 
to avoid a confusion.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to