#3225 closed defect (fixed)
annotation(defaultComponentName = "...") works only once
| Reported by: | 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 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 10 years ago
| Milestone: | Future → 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 by , 8 years ago
| Milestone: | pre1.9.4 → 1.9.4 |
|---|
Removing the pre1.9.4 milestone in favor of 1.9.4.

Fixed in r25107.