Opened 9 years ago

Closed 4 years ago

#3459 closed defect (wontfix)

getInheritedClasses errors do not return the filename

Reported by: Adeel Asghar Owned by: Martin Sjölund
Priority: high Milestone: never
Component: Interactive Environment Version:
Keywords: Cc: Adrian Pop

Description

Run the attached script. getMessagesStringInternal() should return the filename but is not.

Attachments (2)

P.mo (205 bytes ) - added by Adeel Asghar 9 years ago.
P.mos (93 bytes ) - added by Adeel Asghar 9 years ago.

Download all attachments as: .zip

Change History (9)

by Adeel Asghar, 9 years ago

Attachment: P.mo added

by Adeel Asghar, 9 years ago

Attachment: P.mos added

comment:1 by Martin Sjölund, 9 years ago

Summary: getMessagesStringInternal is not returning the filenamegetInheritedClasses errors do not return the filename

This is not about getMessagesStringInternal, but the API getInheritedClasses. A lot of errors in OpenModelica do not return filenames (especially when the error is not associated with an element).

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

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

Milestone: 1.9.51.10.0

Milestone renamed

comment:4 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:5 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:6 by Francesco Casella, 7 years ago

Milestone: 1.12.0Future

The milestone of this ticket has been reassigned to "Future".

If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.

If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".

In both cases, a short informative comment would be welcome.

comment:7 by Per Östlund, 4 years ago

Milestone: Futurenever
Resolution: wontfix
Status: newclosed

getInheritedClasses no longer give an error, I guess the semantics has changed such that it no longer matters if the extended name exists or not.

Note: See TracTickets for help on using tickets.