Opened 4 years ago
Last modified 3 years ago
#6438 accepted defect
A lookup issue
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Interactive Environment | Version: | v1.17.0-dev |
Keywords: | Cc: | Adrian Pop |
Description (last modified by )
Steps to reproduce:
1) load TestPackage.mo, and open Test: we have a red box because MyModel is missing
2) load Test1.mo and duplicate its model MyModel into TestPackage. Look at model Test inside TestPackage: the red box should disappear, but it does not.
3) save, unload and re-load TestPackage again
4) open Test inside TextPackage: the red box has disappared and now myModel is displayed.
So the issue is in point 2.
Tested with 1.17.0-dev.beta3.
Attachments (4)
Change History (9)
by , 4 years ago
Attachment: | TestPackage.mo added |
---|
by , 4 years ago
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
Milestone: | 1.17.1 → 1.18.0 |
---|---|
Status: | new → accepted |
by , 3 years ago
Attachment: | TestPackage1.mo added |
---|
by , 3 years ago
Attachment: | script.mos added |
---|
comment:3 by , 3 years ago
comment:4 by , 3 years ago
Cc: | added |
---|---|
Component: | OMEdit → Interactive Environment |
Note:
See TracTickets
for help on using tickets.
The problem is
getElements
returnsMyModel
instead ofTestPackage.MyModel
when the class is not found.