Bug 1325353 - XLS DT: Source parsing gives different result for boolean columns than dt conversion
Summary: XLS DT: Source parsing gives different result for boolean columns than dt con...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 13:47 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:37:32 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1323090 0 unspecified CLOSED XLS DT conversion to GDT fails to convert some elements 2021-02-22 00:41:40 UTC

Internal Links: 1323090

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.


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