We're updating the issue view to help you get more done. 

Unexposed polymorphic mapper API prevents queries of abstract base class

Description

In the Active Objects library, the EntityManager exposes an API (setPolymorphicTypeMapper) that lets a developer register class relationships between base and leaf classes in a class hierarchy. This allows the library to correctly respond to a query against a base class that has no corresponding table.

In the Active Objects plugin, the EntityManager is replaced (or is possibly facaded) by the ActiveObjects class which does not expose this API. Lacking the API, is it not possible to register the class hierarchy, and thus queries for the base class result in a SELECT for a non-existent table corresponding to the base class.

Environment

None

Testing Notes

None

Status

Assignee

Samuel Le Berrigaud

Reporter

Guy Cardwell

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Components

Affects versions

ao-plugin 0.15

Priority

Major