Opened 6 years ago

Closed 6 years ago

#5486 closed defect (fixed)

OMEdit does not update the %name field in Diagram view

Reported by: Andrea Bartolini Owned by: Adeel Asghar
Priority: blocker Milestone: 1.14.0
Component: OMEdit Version: v1.14.0-dev-nightly
Keywords: Cc: Francesco Casella, Martin Sjölund

Description

Steps to reproduce the error:

1) open the attached test.mo package
2) open the M2 model
3) open the Attributes pop-up and change the instance name as you like
4) close the Attributes pop-up, the name in the text view has been updated but the %name field in the Diagram view is left unchanged

OMEdit 1.11.0~1-gf048cec
Connected to OpenModelica 1.14.0~dev-5914-g99eb5ee
Sysop: Linux Ubuntu 16.04

Attachments (3)

test.mo (490 bytes ) - added by Andrea Bartolini 6 years ago.
Before.png (125.4 KB ) - added by Adeel Asghar 6 years ago.
after.png (127.2 KB ) - added by Adeel Asghar 6 years ago.

Download all attachments as: .zip

Change History (8)

by Andrea Bartolini, 6 years ago

Attachment: test.mo added

comment:1 by Adeel Asghar, 6 years ago

Resolution: invalid
Status: newclosed

See #5481 and #5471. This issue is already fixed and works fine with master version.

comment:2 by Andrea Bartolini, 6 years ago

Resolution: invalid
Status: closedreopened

This ticket refers to an issue different from these referred in #5481 and #5471.
In this case the field %name correctly shows the original instance name but it is not "Updated" when instance name is changed using the Attributes pop-up.

I daily check the nightly repo for updates, today no updates was available... and in the last available version the problem is present...

Please try to reproduce the problem with the last available version on nightly repo...

OMEdit 1.11.0~1-gf048cec
Connected to OpenModelica 1.14.0~dev-5914-g99eb5ee
Sysop: Linux Ubuntu 16.04

by Adeel Asghar, 6 years ago

Attachment: Before.png added

by Adeel Asghar, 6 years ago

Attachment: after.png added

comment:3 by Adeel Asghar, 6 years ago

Cc: Martin Sjölund added

Sorry #5471 is not the same but #5481 is. See the attached screenshots. It works fine with the master version so there is nothing more I can do.

Version OpenModelica 1.14.0~dev-5914-g99eb5ee is 6 days old. So I guess Linux builds are not updating.

in reply to:  3 comment:4 by Francesco Casella, 6 years ago

Replying to adeas31:

Version OpenModelica 1.14.0~dev-5914-g99eb5ee is 6 days old. So I guess Linux builds are not updating.

Indeed, see the Jenkins log of Linux builds. Andrea, you may bookmark that and check it when you have trouble with the "latest" nightly.

comment:5 by Andrea Bartolini, 6 years ago

Resolution: fixed
Status: reopenedclosed

Ok, I will wait for the next success of the nightly build...

Note: See TracTickets for help on using tickets.