Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3400 closed defect (invalid)

Multiple parameters with annotations in one line resulting in attributes not being created

Reported by: mayr19@… Owned by: Adeel Asghar
Priority: normal Milestone: never
Component: OMEdit Version: trunk
Keywords: Cc:

Description

I expierienced following bug in OMEdit.

I definied several like four parameters with annotation in one line e.g.

parameter Real m=0.01(annotation(Dialog(group = "Group"), u=0.02(annotation(Dialog(group = "Group"), z=0.03(annotation(Dialog(group = "Group"), v=2(annotation(Dialog(group = "Group");

I already had some connectors defined in this model. As I reloaded the model and tried to connect it to some other model the connectors were gone.
They were still present in the text view, but did not appear in icon or diagram view.
Tried to add some new connectors but they disappeared too. Then I found out everything I add to that specific model does not get any attributes (rightclick - attributes - window choices all empty). If adding them manually OMEdit will crash.
I already created an forum thread explaing everything in detail and providing the model, where I expirienced the problem first.
https://openmodelica.org/forum/default-topic/1667-something-inside-this-code-is-confusing-openmodelica

Change History (2)

comment:1 by Adeel Asghar, 9 years ago

Resolution: invalid
Status: newclosed

The problem is with getComponents API. I have created a new ticket for it #3581.

comment:2 by Dietmar Winkler, 9 years ago

Milestone: Futurenever

Sorting away the closed as invalid, won't fix and duplicate tickets from Future.

Note: See TracTickets for help on using tickets.