Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6086 closed defect (fixed)

OMEdit does't show block terminals into diagram view

Reported by: Andrea.Bartolini Owned by: adrpo
Priority: blocker Milestone: 1.16.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc: casella, sjoelund.se, perost, adrpo

Description

Step to reproduce the issue:
1) open OMEdit and create a new model
2) open Modelica.Blocks.Sources library and drag&drop sine block into the diagram view

RESULT: either u and y terminals are not shown.

OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.16.0~dev-592-gdde8ed2

sysop: Ubuntu 18.04

Change History (5)

comment:1 Changed 4 years ago by adeas31

  • Cc sjoelund.se added

Works as expected for me. Maybe because of MSL 4.
Martin can you test it on Ubuntu?

comment:2 Changed 4 years ago by casella

  • Cc perost adrpo added

@adeas31, I just tried this with v1.16.0-dev-592-gdde8ed2d38 on Windows 10 64 bits, using MSL 3.2.3, and I confirm the issue.

All blocks inheriting from Modelica.Blocks.Interfaces partial models no longer show the connectors. This affects, e.g., all Modelica.Blocks.Examples models.

I'm quite sure this is a recent regression, I used the nightlies until the end of July and I didn't notice this issue.

comment:3 Changed 4 years ago by adrpo

  • Owner changed from adeas31 to adrpo
  • Status changed from new to accepted

I guess this is related to @perost changes regarding partial models. If one activates the -d=nfAPINoise I guess it will get the error messages about instantiating partial models. We will probably need to allow it when -d=nfAPI is on.

comment:4 Changed 4 years ago by adrpo

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:5 Changed 4 years ago by casella

Looks good, thanks @adrpo!

Note: See TracTickets for help on using tickets.