[
https://jira.jboss.org/jira/browse/JBSEAM-4034?page=com.atlassian.jira.pl...
]
Marek Novotny updated JBSEAM-4034:
----------------------------------
Fix Version/s: 2.2.0.CR1
it should be fixed with upgrade to Drools 5 and updating documentation to Drools 5 API
Using outdated Drools API in documentation example
--------------------------------------------------
Key: JBSEAM-4034
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4034
Project: Seam
Issue Type: Bug
Components: Documentation Issues
Affects Versions: 2.1.1.GA
Reporter: Joseph Miller
Assignee: Marek Novotny
Fix For: 2.2.0.CR1
In section "14.2. Using rules from a Seam component" of the manual, it refers
to:
policyPricingWorkingMemory.assertObject(policy);
policyPricingWorkingMemory.assertObject(customer);
This was valid for Drools 3.x. However Seam 2.1.1.GA is using Drools 4.x, which has
changed it's API.
The equivalent lines are:
policyPricingWorkingMemory.insert(policy);
policyPricingWorkingMemory.insert(customer);
Doc URL:
http://docs.jboss.com/seam/2.1.1.GA/reference/en-US/html/drools.html#d0e8296
--
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