Opened 6 years ago

Last modified 3 years ago

#5312 assigned defect

OMEdit does not handle final parameter bindings properly

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: high Milestone:
Component: NF API Version: v1.14.0-dev-nightly
Keywords: Cc: Andrea Bartolini

Description

Please consider the attached test package. There are currently three issues with OMEdit related to the final prefix.

  1. If you open model B, display the graphic view, and double-click on a, you can't set/unset the final attribute on p1
  1. If you open model C and double-click on a, you still see parameter p1, which shouldn't be the case, as it is modified with a final prefix in the ancestor model B
  1. If you then open model B, change the value of p1 in the GUI, and save the model, the final prefix is actually removed from the code

OMEdit should allow to set/unset the final prefix when setting parameter values, and should also consider the final prefix in ancestor classes when deciding whether or not to display the parameter in the parameter window.

Attachments (1)

Test.mo (312 bytes ) - added by Francesco Casella 6 years ago.

Download all attachments as: .zip

Change History (7)

by Francesco Casella, 6 years ago

Attachment: Test.mo added

comment:1 by Francesco Casella, 6 years ago

Summary: OMEdit does not handle final annotations properlyOMEdit does not handle final parameter bindings properly

comment:2 by Francesco Casella, 5 years ago

Component: OMEditNF API
Owner: changed from Adeel Asghar to Adrian Pop
Status: newassigned

comment:3 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0

comment:4 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:5 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:6 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.