Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3460 closed defect (fixed)

getComponents fails if base class is not defined

Reported by: adeas31 Owned by: adrpo
Priority: high Milestone: 1.9.4
Component: Interactive Environment Version:
Keywords: Cc: sjoelund.se

Description

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

Attachments (2)

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

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by adeas31

Changed 9 years ago by adeas31

comment:1 Changed 9 years ago by perost

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 Changed 9 years ago by adeas31

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

comment:3 Changed 9 years ago by perost

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 7458c24.

comment:4 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.4-1.9.x

Milestone renamed

comment:5 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4-1.9.x to 1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.