Project

General

Profile

Bug #82911

Updated by Benjamin Rannow about 7 years ago

<pre><code> <pre><code class="css"> 
 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 
         } 
     } 
 } 
 </code></pre> 

 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.

Back