Bug 484859 - Collapse Filter for the content of List Container doesn't work
Summary: Collapse Filter for the content of List Container doesn't work
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-12-23 09:30 EST by Etienne Juliot CLA
Modified: 2015-12-28 09:40 EST (History)
2 users (show)

See Also:


Attachments
Projects to reproduce (174.86 KB, application/zip)
2015-12-28 09:39 EST, Esteban DUGUEPEROUX CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Etienne Juliot CLA 2015-12-23 09:30:25 EST
Steps to reproduce:
- with basicfamily, create a odesign with Person as a container list and his children as items of this list
- create a Mapping filter on these children
- with filter kind "hide", it works.
- with Collapse, nothing occurs.

I don't know what is the expected behavior but at the end, it should be fixed or a validation rule should be added (or forbid this usage in the VSM editor).
Comment 1 Maxime Porhel CLA 2015-12-28 03:57:11 EST
Note this kind of filter currently has the same behavior on free form containers. 

I think the current behavior is to collapse/hide the border nodes.
Comment 2 Esteban DUGUEPEROUX CLA 2015-12-28 09:39:56 EST
Created attachment 258923 [details]
Projects to reproduce

I confirm the bug and when fixed should be coherent with Bug 455056 feature request.

Scenario to reproduce :
1. Import metamodels projects from attached archive
2. Launch a runtime
3. From this second runtime import VSP and Modeling Project
4. From "org.eclipse.sirius.sample.basicfamily.test" Modeling Project open the diagram
5. Enable the filter named "Filters" => KO the list elements are still visible.