#4576 closed defect (fixed)
OMEdit crashes when try to create a transition between two states of a status machine
Reported by: | Andrea Bartolini | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.12.0 |
Component: | OMEdit | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description
In order to reply the problem:
1) open in OMEdit the attached model TwoStatesMachine2.mo, it contains:
a) two state models (State1 and State2) created using the OMEdit menu File-->NewModelicaClass and marking the model as "State" in the pop-up window
b) a model "Machine" which contains one instance of State1 model and one instance of State2 model
2) open the Machine model and try to generate a transition between the two states: the "Create transition" pop-up is shown...
3) put a condition (e.g. i>10) and press OK
--> OMEdit crashes
OMEdit 1.13.0~dev-18-gf627d10 connected to OpenModelica 1.13.0~dev-192-gd3b895d built for Ubuntu 16.04.3 LTS.
The running OS is Ubuntu 16.04.3 LTS on x86_64.
Attachments (2)
Change History (8)
by , 7 years ago
Attachment: | TwoStatesMachine2.mo added |
---|
comment:1 by , 7 years ago
Component: | *unknown* → OMEdit |
---|---|
Milestone: | Future → 1.12.0 |
Owner: | changed from | to
Priority: | high → critical |
Version: | → v1.13.0-dev-nightly |
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 7 years ago
Priority: | critical → high |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I confirm that now OMEdit create transition, but there are still some issues with the condition visualization, as per shown in attached file.
OMEdit 1.13.0~dev-24-g095b0ef
Connected to OpenModelica 1.13.0~dev-222-ga3c7ea2
sysop - Ubuntu 16.04 - 64 bit
by , 7 years ago
Attachment: | StateMachine.png added |
---|
comment:4 by , 7 years ago
Yeah of course there are issues with the display.
But can you please create a new ticket about it with a milestone 1.13?
I might not be able to fix this issue for 1.12.
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in d60d43/OMEdit.