Issue Bug Closed

#82911TCA Subclasses doese not affect ObjectStorages

Benjamin Rannow 11/03/17, 17:19 updated 05/06/19, 10:25

Description

config.tx_extbase {
    persistence {
        classes {
            EXT\ExtA\Domain\Model\Facility {
                subclasses {
                    EXT\ExtB\Domain\Model\AdvancedFacility = EXT\ExtB\Domain\Model\AdvancedFacility
                }
            }

            EXT\ExtB\Domain\Model\AdvancedFacility {
                mapping {
                    tableName = tx_ext_domain_model_facility
                }
            }
        }
    }
}

config.tx_extbase {
    objects {
        EXT\ExtA\Domain\Model\Facility {
            className = EXT\ExtB\Domain\Model\AdvancedFacility
        }
    }
}

I try to subclass a Model over TCA (see above).
It works fine with repositories. Sadly ObjectStorages give me only the standard Facility not the AdvancedFacility.
I See in the Datamaps of the DataMapper the Subclass but it is completly ignored.

it was in a Schedule.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.