#3400 closed defect (invalid)
Multiple parameters with annotations in one line resulting in attributes not being created
Reported by: | 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 , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 9 years ago
Milestone: | Future → never |
---|
Sorting away the closed as invalid, won't fix and duplicate tickets from Future.
The problem is with
getComponents
API. I have created a new ticket for it #3581.