Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#2806 closed defect (fixed)

Instantial Model should show only top level inputs and outputs as inputs and outputs

Reported by: Vitalij Ruge Owned by: Per Östlund
Priority: normal Milestone: 1.9.4
Component: Frontend Version: trunk
Keywords: Cc: Adeel Asghar

Description

Consider this example

package test

 block blockA
  input Real in_x;
  output Real out_x = in_x;
 end blockA;

  model B
   blockA A(in_x = time);
   Real x;
  equation
   A.out_x = x;
  end B;

end test;

Instantial Model create

class test.B
  input Real A.in_x = time;
  output Real A.out_x = A.in_x;
  Real x;
equation
  A.out_x = x;
end test.B;

with some inputs and outputs. But the model B don't have any inputs and outputs

Change History (5)

comment:1 by Adrian Pop, 10 years ago

Component: OMEditFrontend
Owner: changed from Adeel Asghar to somebody

comment:2 by Per Östlund, 10 years ago

Owner: changed from somebody to Per Östlund
Status: newaccepted

Partially fixed in r22171, but still needs to be fixed for record components also.

Version 0, edited 10 years ago by Per Östlund (next)

comment:3 by Per Östlund, 10 years ago

Resolution: fixed
Status: acceptedclosed

Fixed for record components also in r22197. Let me know if I've missed any cases.

comment:4 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:5 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.