Summary
The namespace reference for a BehaviorVariable's DataClassifier is lost in the text editor after deleting BehaviorStates that are the source and destination of a BehaviorTransition.
Expected and Current Behavior
BehaviorAnnex Before Modification:
annex behavior_specification {**
variables
variable : Base_Types::String;
states
s1 : initial state;
s2 : state;
transitions
s1 -[]-> s2;
**};
BehaviorAnnex After Modification: (Base_Types reference is missing)
annex behavior_specification {**
variables
variable : String;
transitions
s1 -[]-> s2;
**};
Base_Types should not be lost when the states are deleted.
Steps to Reproduce
- Paste the code below into the text editor
- Right click on the behavior_specification
- Select "Open Diagram" from the context menu and create the new diagram
- Right click on s1 and select "Delete"
- Right click on s2 and select "Delete"
- Open the text editor and the Base_Types reference will be gone from the BehaviorVariable "v"
package test
public
with Base_Types;
abstract a
annex behavior_specification {**
variables
v : Base_Types::String;
states
s1 : initial state;
s2 : state;
transitions
s1 -[]-> s2;
**};
end a;
end test;
Environment
- Operating System: Windows
Summary
The namespace reference for a BehaviorVariable's DataClassifier is lost in the text editor after deleting BehaviorStates that are the source and destination of a BehaviorTransition.
Expected and Current Behavior
BehaviorAnnex Before Modification:
BehaviorAnnex After Modification: (Base_Types reference is missing)
Base_Types should not be lost when the states are deleted.
Steps to Reproduce
Environment