Summary: | Newly created "Open Dialog" operations are incomplete/invalid | ||||||
---|---|---|---|---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Melanie Bats <melanie.bats> | ||||
Component: | Properties | Assignee: | Project Inbox <sirius.properties-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | pierre-charles.david | ||||
Version: | 4.1.1 | Keywords: | helpwanted, triaged | ||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | vsm validation ux | ||||||
Attachments: |
|
Confirmed. Steps to reproduce: 1. Create/open a VSM, with a representation and some tool. 2. Inside a tool create a new "Open Dialog" operation. 3. Select the newly-created operation, right-click and select validate. The created operation is invalid, raising two errors. We should make sure the new operation is created in a valid state. |
Created attachment 268447 [details] Validation issues in UML Designer When I create a dialog by default it creates two buttons Cancel/OK with a default behavior and in the odesign definition it generates a Begin initial operation. As there is nothing specified by default under the Begin, the validation generates errors : The required feature 'firstModelOperations' of 'Begin' must be set By default we should create also a change context var:self in order that the validation will be ok.