Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#3225 closed defect (fixed)

annotation(defaultComponentName = "...") works only once

Reported by: Christian Kral <dr.christian.kral@…> Owned by: somebody
Priority: high Milestone: 1.9.4
Component: *unknown* Version: trunk
Keywords: Cc:

Description

Create a new model and drag in a component which has a default component name specified by annotation(defaultComponentName = "..."). For example use Modelica.Electrical.Machines.BasicMachines.AsynchronousInductionMachines.AIM_SquirrelCage. In this case the dault name is "aimc".

The first instance is named "aimc" (as expected)
The second instance is named "aim_squirrelcage1" (wrong)
The third instance is named "aim_squirrelcage2" (wrong)

Change History (3)

comment:1 Changed 10 years ago by perost

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

Fixed in r25107.

comment:2 Changed 9 years ago by dietmarw

  • Milestone changed from Future to pre1.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:3 Changed 7 years ago by sjoelund.se

  • Milestone changed from pre1.9.4 to 1.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.