[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1849) When creating a test scenario in the BRMS, it is not possible to link the facts through there fields
Michael Neale (JIRA)
jira-events at lists.jboss.org
Thu May 28 22:59:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12469582#action_12469582 ]
Michael Neale commented on JBRULES-1849:
----------------------------------------
you can actually do this today - if you create person before Car, you can have "=p" in the cell for the car owner. Since a recent version shouldn't matter what order you create the objects in, it will just create them first, and THEN set the field values after both are created...
We still need to allow re-ordering of things (perhaps by drag and drop), and also perhaps some ability to help people build MVEL expressions (eg a list of things).
> When creating a test scenario in the BRMS, it is not possible to link the facts through there fields
> -----------------------------------------------------------------------------------------------------
>
> Key: JBRULES-1849
> URL: https://jira.jboss.org/jira/browse/JBRULES-1849
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools
> Affects Versions: drools-5.0.1.FINAL
> Environment: Linux, Jboss 4.2.2
> Reporter: Nicolas Heron
> Assignee: Toni Rikkola
>
> When creating a test scenario in the BRMS, it is not possible to link the facts through there fields
> For example if I have a rule like :
> when
> p : Person()
> c : Car (owner == p)
> then
> ...
> end
> in the test scenrio in the BRMS, I will never fire this rule. Indeed, I cannot through the BRMS affecting the owner of the car to the given person
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list