Bug 536244 - Misleading documentation of filter expressions for properties view
Summary: Misleading documentation of filter expressions for properties view
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Documentation (show other bugs)
Version: 6.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: Next   Edit
Assignee: Projet Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-06-25 08:20 EDT by Zoltan Ujhelyi CLA
Modified: 2018-10-17 02:48 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Ujhelyi CLA 2018-06-25 08:20:22 EDT
Today I have tried to override the default Properties view contribution in the Sirius editor for an EClass. Based on the documentation from https://www.eclipse.org/sirius/doc/specifier/properties/Properties_View_Description.html#extensibility_features, I have found the following paragraph: 

"For each Filter expression, a variable is available which represents the element which could be filtered. It is possible to filter all the inherited elements by just returning false all the time. In this case, the elements defined under the current description overrides the elements defined in the extended description."

I have understood this if I don't want to have the default contribution available at all, I have to provide the 'aql:false' string for the corresponding field. However, this was incorrect, I had to add the 'aql:true' value to filter out all parent groups. I suggest eiher replacing the returning false part to return true; or reword the text if I misunderstood its intention.
Comment 1 Steve Monnier CLA 2018-07-06 05:18:27 EDT
Indeed, this part is confusing and should be reworded more clearly.
Comment 2 Pierre-Charles David CLA 2018-10-10 02:43:51 EDT
We're very short on time to finish 6.1.0, so moving everything non-essential to 6.1.1.