Multiple InheritanceTypes are not resolved correctly

Description

Hi guys,

I'm trying to have several {{InheritanceType}}s like this:

but when I try to query the db like so:

I get exception: "Cannot find table with name variant". And I don't think it should be looking for table variant - the variant entities are stored in the product table.

Environment

None

Assignee

Unassigned

Reporter

Petar Tahchiev

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure