#5662 closed defect (fixed)
nfAPI does not locate a submodel
Reported by: | massimo ceraolo | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | blocker | Milestone: | 1.16.1 |
Component: | NF API | Version: | |
Keywords: | Cc: |
Description
Consider the enclosed RedBoxIssue package.
If we open "MyModel" without nfAPI, we see one red box because of a missing model => correct.
If we open the same model with nfAPI (Selecting the box in OMEdit Options|Simulation "Enable new frontend use in OMC API) we see two red boxes, which is wrong.
Since this is a regression I mark this issue as a blocker for 1.14.0.
I did tests restarting OMEdit before opening the models, and using OMEdit Connected to OpenModelica v1.14.0-dev-26739-g57a0101ee7 (64-bit)
Attachments (1)
Change History (16)
by , 5 years ago
Attachment: | RedBoxIssue.mo added |
---|
comment:1 by , 5 years ago
follow-up: 3 comment:2 by , 5 years ago
Milestone: | 1.14.0 → 1.15.0 |
---|
Rescheduled to 1.15.0 due to lack of time
comment:3 by , 5 years ago
Replying to casella:
Rescheduled to 1.15.0 due to lack of time
I suppose this is done in preparation for 1.14 release.
Will nfAPI be default then for 1.14 without fixing this ticket?
If this is the idea, I'm not sure it's a good idea. People will see red boxes appear where earlier there were model icons, and consequently previously working models failing.
According to my experience, it won't be a rare event.
comment:4 by , 5 years ago
I will continue to look into this ticket, I have some ideas how to fix it but what I could try until now didn't work. If I can fix it soon we can make a 1.14.1 rather easily.
comment:5 by , 5 years ago
@ceraolo, the OSMC Board just took the decision to switch from feature-based release to time-based release, because otherwise our releases are always too rare and too late. So, we plan on two release whatever stable features we have two times per year, one in early winter, one in early summer. That's the model followed by most softwares, think Ubuntu or Dymola.
After almost one year we released 1.13.2, we can't postpone 1.14.0 further.
If there are critical issues and regressions, we can fix them in minor releases such as 1.14.1. Those will just contain the main release plus a few cherry-picked fixes, and replace the earlier releases. We already did that with 1.13.1 and 1.13.2, that fixed specific issues.
comment:6 by , 5 years ago
Milestone: | 1.15.0 → 1.14.1 |
---|
comment:7 by , 5 years ago
Ok. I respect the osmc decision.
I'm not sure that ubuntu or dymola leave in their releases important known regressions.
In this case (if nfApi is default) we do.
comment:8 by , 5 years ago
Milestone: | 1.14.1 → 1.14.2 |
---|
comment:9 by , 5 years ago
There will probably be no 1.14.2 but rather a 1.15.0, let's see what we can do in the next couple of weeks.
comment:11 by , 5 years ago
Sure. I'll reschedule them to 1.15.0 as soon as I'm sure 1.15.0 is bein rolled out anytime soon.
comment:14 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The issue is not present anymore.
Must have been solved between 1.16.0-dev-648 and 1.17.0-dev-141
comment:15 by , 4 years ago
Milestone: | 1.17.0 → 1.16.1 |
---|
Add test so we don't break it again:
https://github.com/OpenModelica/OpenModelica/pull/584
@adrpo please fix this if possible for 1.14.0-dev.beta3
Thanks!