[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2609) Bad condition operator "===" (triple equals) in room fire example
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Tue May 17 23:02:01 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor updated JBRULES-2609:
----------------------------------
Fix Version/s: 5.2.0.CR1
> Bad condition operator "===" (triple equals) in room fire example
> -----------------------------------------------------------------
>
> Key: JBRULES-2609
> URL: https://issues.jboss.org/browse/JBRULES-2609
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-docs-expert
> Affects Versions: 5.1.0.FINAL
> Environment: environment not relevant
> Reporter: Julien Kronegg
> Assignee: Mark Proctor
> Priority: Trivial
> Fix For: 5.2.0.CR1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> Context:
> The "Quick Start" chapter/"The Basics" section uses an example of fire in rooms.
> Issue:
> In one of the rule example snippet, the condition operator used is "===" (triple equals) instead of "==" (double equals):
> rule "Status output when things are ok"
> when
> not Alarm()
> not Sprinkler( on === true )
> then
> System.out.println( "Everything is ok" );
> end
> Location:
> In version 5.1.0.FINAL and also in trunk/rev34481 in the following file:
> http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-The_Basics.xml : line 389
> Priority:
> Since this is in the basics, beginners read that chapter, so the priority could be higher than "trivial"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list