Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3460 closed defect (fixed)

getComponents fails if base class is not defined

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

Description

If a model extends from class which is not defined then calling getComponents returns Error.

Attachments (2)

A.mo (49 bytes ) - added by Adeel Asghar 9 years ago.
A.mos (74 bytes ) - added by Adeel Asghar 9 years ago.

Download all attachments as: .zip

Change History (7)

by Adeel Asghar, 9 years ago

Attachment: A.mo added

by Adeel Asghar, 9 years ago

Attachment: A.mos added

comment:1 by Per Östlund, 9 years ago

Does getComponents really need to return the fully qualified types of the components? Because that seems to be the only reason why we instantiate the class, and then look up the components types in the resulting environment (which might cause more instantiation).

comment:2 by Adeel Asghar, 9 years ago

Yes, the fully qualified type names of the components are needed.

comment:3 by Per Östlund, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in 7458c24.

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

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

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

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.