Hide Forgot
Description of problem: BigDecimal field of a 'Given fact' with a value 99.99B in TestScenario results in NumberFormatException. The value can be entered via copy&paste, it can't be typed in. Version-Release number of selected component (if applicable): BRMS 5.3.0 ER4 Steps to Reproduce: 1. Create a new model with a fact with BigDecimal field. 2. Create a test scenario with a given fact, that one you just created, add the BigDecimal field and copy&paste 99.99B into it. 3. Save and run the test scenario. Actual results: Error dialogue - the test cannot be run - and a java.lang.NumberFormatException exception in the server log. Expected results: No error, no exception. Additional info: This is closely related to https://bugzilla.redhat.com/show_bug.cgi?id=724448 - Support for BigDecimal in Guided Editor.
The value 99.99 in a BigDecimal field in test scenarios seems to be understood as BigDecimal even without the B annotation. It matches with 99.99B from a guided rule rhs, it doesn't match 99.99 in the same field in the rule.
Please verify this issue on ER5.
Please see comment #3. It has not been back-ported to 5.3.x. I proposed it is shifted to the subsequent release. Please also note the expectation was that Test Scenarios use TextBoxFactory to ensure value editors were correct for the data-type. Toni Rikkola has been making changes in this area. BZ assigned to Toni to confirm (future) release resolves this issue.
Update status to ON_QA. Please verify them against ER6.