Bug 519458 - Conditional column background in Cross tables are not computed correctly
Summary: Conditional column background in Cross tables are not computed correctly
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Table (show other bugs)
Version: 4.1.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: trivial, flash, need_tests
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-07-10 09:07 EDT by Pierre Guilet CLA
Modified: 2017-07-13 04:15 EDT (History)
1 user (show)

See Also:


Attachments
project to reproduce (40.87 KB, application/x-zip-compressed)
2017-07-10 09:07 EDT, Pierre Guilet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Guilet CLA 2017-07-10 09:07:43 EDT
Created attachment 269302 [details]
project to reproduce

The conditional background style from cross table description are not correctly computed when using the table with a Sirius editor. There are two problems:

1- For a cell result of the intersection, the context for column conditional expression computation is the cell target instead of the column one whereas validation use the column target. 

2- When no intersection is found for a cell, the column conditional background are not taken in consideration when computing column background. Only the default one.

Steps to reproduce 1:

-import projet
-open new bugCT cross table
- intersection should be green. They are red.

Steps to reproduce 2:

-import projet
-open new CT2 cross table
- all cell should be green.
Comment 1 Eclipse Genie CLA 2017-07-10 09:12:19 EDT
New Gerrit change created: https://git.eclipse.org/r/100995