Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3884 closed defect (fixed)

Attribute editing not initialized properly

Reported by: crupp@… Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: v1.10.0-dev-nightly
Keywords: Cc:

Description

After adding a block with the "defaultComponentPrefixes = parameter" annotation to a model and then after editing the attributes for that block, the parameter designation disappears.

To reproduce using the following record:

record rec
  parameter Real a = 1;
  annotation(defaultComponentPrefixes = "parameter");
end rec;

1) Drag the block to the model, check that parameter prefix is correct in text view.
2) Edit the attributes in diagram view, notice that the setting is variability is "Unspecified" rather than "parameter". Then change the name.
3) In text view the prefix is now missing.

Tested using the latest nightly: v1.10.0-dev-112-g1418a48

Change History (3)

comment:1 by Adeel Asghar, 9 years ago

Status: newaccepted

comment:2 by Adeel Asghar, 9 years ago

Milestone: Future1.10.0
Resolution: fixed
Status: acceptedclosed

Fixed in bff7de7/OMEdit.

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

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.