Bug 724768 (BRMS-606) - All numbers with decimals in .XLS are treated as double when imported as decision table, but the fact editor has no double option
Summary: All numbers with decimals in .XLS are treated as double when imported as deci...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-606
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Tihomir Surdilovic
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-19 19:05 UTC by Jeff Slone
Modified: 2011-06-19 19:50 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
BRMS 5.1 on RHEL 6
Last Closed: 2011-06-19 19:50:32 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-606 0 None None None Never

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



Note You need to log in before you can comment on or make changes to this bug.