[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4034) Using outdated Drools API in documentation example

Joseph Miller (JIRA) jira-events at lists.jboss.org
Tue Mar 24 02:56:22 EDT 2009


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


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

        



More information about the seam-issues mailing list