-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
We have two separate STI relationships:
abstract class Sanction, with various children, one of which is class Roadworthiness extends Sanction
and
abstract class ChecksiteLocation, with two children Temporary and Permanent
The data looks correct in the DB, but when dumping the fixtures I encounter an odd issue with each of them:
- the
Sanctionentity is written directly, and theRoadworthinessentity is not generated at all in the fixtures - the
TemporaryandPermanententities are written fine, but an additionalChecksiteLocationentity (with duplicated data that already exists in one ofTemporaryor `Permanent) is generated
I have a feeling these issues are related, but I can't quite put my finger on it. It seems to me that:
- the
Roadworthinessentity is not actually being written properly (not sure why) - the
ChecksiteLocationentity is making it past the check inORMDumperon Line 25if (!$class->getReflectionClass()->isInstantiable() || $class->isMappedSuperclass) {
Do you have any ideas what might be causing this strange behaviour?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels