Bug 760502

Summary: No more Number in Guvnor 5.2 with accumulate from
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: David Courtin <david.courtin>
Component: BRM (Guvnor)Assignee: manstis
Status: MODIFIED --- QA Contact: Lukáš Petrovický <lpetrovi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: BRMS 5.2.0.GACC: manstis
Target Milestone: ---Flags: manstis: needinfo+
lpetrovi: needinfo? (david.courtin)
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Rule develop in 5.1 none

Description David Courtin 2011-12-06 11:22:25 UTC
Created attachment 541310 [details]
Rule develop in 5.1

Description of problem:
We just start to usr JBoss BRMS 5.1 to develop some rules but we faced with this bug (https://issues.jboss.org/browse/GUVNOR-1335) so we tried to used the 5.2 version. But we faced an new problem. I attached a copy of the screen showing a rule developed with the 5.1 version and show after change to the version.

As you can see the part of the rule which use an Accumulate fonction is inactive (but the rule still valide according the validate function). Indeed, there's no more 'Number'  in the dropdown list box. The manual still present the use of Number in Accumulate fonction.

Version-Release number of selected component (if applicable):

How reproducible: try to develop a Accumulate function and you'll see.


Steps to Reproduce:
1. Make a model with a list or a set of objects.
2. Try to develop an accumulate function
  
Actual results:
Regression from 5.1, can't develop Accumulate function according to manual.

Expected results:
Use the accumulate function as usal.

Additional info:

Comment 1 manstis 2012-02-07 12:31:43 UTC
Have you added a package-level import for java.lang.Number?

Comment 2 manstis 2012-04-03 12:25:24 UTC
Hello, can you confirm comment #1 and, if it still does not work, provide more steps to reproduce (or an example repo)? Thanks.

Comment 3 JBoss JIRA Server 2012-04-25 20:09:00 UTC
Alexandre Porcelli <alexandre.porcelli> made a comment on jira GUVNOR-1871

Bug fixed on master - https://github.com/droolsjbpm/guvnor/commit/8cbc88e9326690e62e175e91ca5c770d514aaab7

Comment 4 JBoss JIRA Server 2012-04-25 20:13:30 UTC
Alexandre Porcelli <alexandre.porcelli> updated the status of jira GUVNOR-1871 to Resolved

Comment 5 manstis 2012-05-02 12:28:48 UTC
This has been fixed in community release 5.4.