Bug 724768 (BRMS-606)

Summary: All numbers with decimals in .XLS are treated as double when imported as decision table, but the fact editor has no double option
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jeff Slone <jslone>
Component: BRM (Guvnor)Assignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.1.0 GA   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-606
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
BRMS 5.1 on RHEL 6
Last Closed: 2011-06-19 19:50:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Slone 2011-06-19 19:05:35 UTC
securitylevel_name: Public

In the fact model editor in Guvnor, there are only two number options: Integer and BigDecimal (decimal number). When you import a spreadsheet containing a decision table, any number entered in the spreadsheet in decimal format is interpreted by the compiler as "double." Since there is no option for double in the fact editor, you automatically get a mismatch between the double in the spreadsheet and the decimal or integer in the fact model. The only way I've been able to get around this is to change the fact attribute to Integer and change the formatting of the spreadsheet to not use decimals. This won't be acceptable to any parameter that requires the decimal format.

Comment 1 Jeff Slone 2011-06-19 19:50:32 UTC
Release Notes Text: Added: This was a user misunderstanding