Bug 1325353

Summary: XLS DT: Source parsing gives different result for boolean columns than dt conversion
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:37: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 Zuzana Krejčová 2016-04-08 13:47:34 UTC
Description of problem:
An uploaded xls dtable has an action column definition like "System.out.println("something");" and the cell value is set to 'falsë́' or 'X' (or pretty much any other non-empty String, I think).

In the Source tab for such a dtable, the cell is expanded to an action in the 'then' section (the boolean value of the cell is considered to be 'true', simply because it is not empty). But if you convert the xls dtable to a guided one, the cells are not ticked, so the generated rule doesn't contain this action (the cell value is considered to be 'false', as the value doesn't match the patterns considered to mean 'true').

The behaviour of these two features should be consistent, preferably also consistent with how this works in the engine/runtime.


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


Steps to Reproduce:
1. Upload a xls dtable with the above specified action column and cell value.
2. Open the Source tab.
3. Convert the dtable.


Actual results:
The Source shows the action expanded, the converted dtable has the cell 'unticked'.


Expected results:
The Source content and the converted table are consistent - both set to true or both set to false.