Bug 447725 - OperationAction: The container variable from completion is not available during evaluation of the precondition
Summary: OperationAction: The container variable from completion is not available duri...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 525257
  Show dependency tree
 
Reported: 2014-10-17 11:12 EDT by Maxime Porhel CLA
Modified: 2017-09-27 03:49 EDT (History)
0 users

See Also:


Attachments
Reproduction case (3.33 KB, application/zip)
2014-11-06 09:25 EST, Maxime Porhel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Porhel CLA 2014-10-17 11:12:51 EDT
OperationAction: The container variable from completion is not available during evaluation of the precondition

We should check the precondition evaluation for this tool.
Comment 1 Maxime Porhel CLA 2014-11-06 09:25:27 EST
Created attachment 248458 [details]
Reproduction case

With the attached sample
 . Import the project
 . Open the session (double clic on the aird)
 . Open the "new bug447725" diagram
 . Right clic on node or the diagram:

-> The SampleOpWihtoutPrecondition menu is displayed for both selection
-> The following error occurs:

 Compilation error for expression [container.oclIsKindOf(EClass)/] : 
 Unrecognized variable: (container)

-> The SampleOpWithPrecondiiton menu is not displayed in the contextual menu on EClass.