You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tkobayas (via GitHub)" <gi...@apache.org> on 2025/06/04 01:38:40 UTC

[I] Raise a build error when insert etc. is used in RuleUnit rules [incubator-kie-drools]

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: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Raise a build error when insert etc. is used in RuleUnit rules [incubator-kie-drools]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on issue #6366:
URL: https://github.com/apache/incubator-kie-drools/issues/6366#issuecomment-3087718489

   Done by https://github.com/apache/incubator-kie-drools/pull/6402


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Raise a build error when insert etc. is used in RuleUnit rules [incubator-kie-drools]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas closed issue #6366: Raise a build error when insert etc. is used in RuleUnit rules
URL: https://github.com/apache/incubator-kie-drools/issues/6366


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org