Opened 5 years ago
Closed 5 years ago
#5588 closed defect (fixed)
Deleting submodel crashes OMEdit
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: |
Description
Steps to reproduce:
- load and open Test
- open RL_Q
- delete QSensor from Test; now a crossed red square box appears in RL_Q instead of qMeas
- delete the red box; the connecting lines referred to that box are not deleted
- delete (using key "del") one of the remaining connecting lines previously connecting to qMeas
=> OMEDIT CRASHES
Tested with OMEdit connected to OpenModelica v1.14.0-dev-26583-g96cf577415 (64-bit)
Attachments (1)
Change History (7)
by , 5 years ago
comment:1 by , 5 years ago
Priority: | critical → blocker |
---|
comment:2 by , 5 years ago
The issue here is that when we delete a res-box its connecting lines are not deleted (they should).
comment:5 by , 5 years ago
Hope you will also add automatically deletion of connecting lines, as happens when we delete an ordinary block (i.e. not a red-box)
comment:6 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Yeah I fixed that yesterday as well but forgot to merge the pull request. See 1097881/OpenModelica.
Note:
See TracTickets
for help on using tickets.
Let's see if we can push this in 1.14.0, OMEdit should never crash.