[TYPO3-core] FYI: Raised Extbase and Fluid versions to 1.2.0beta1

Jochen Rau jochen.rau at typoplanet.de
Mon May 3 09:58:45 CEST 2010


Hi.

Just a short note. The configuration of the record type is now mandatory 
for every concrete class. Instead of

> <pre>
> config.tx_extbase.persistence.classes {
>    Organization {
>      mapping {
>        tableName = party
>      }
>      subclasses {
>        Company = Company
>        ScientificInstitution = ScientificInstitution
>      }
>    }
>    Person {
>      mapping {
>        tableName = party
>      }
>    }
>    Company {
>      mapping {
>        tableName = party
>      }
>    }
>    ScientificInstitution {
>      mapping {
>        tableName = party
>      }
>    }
> }
> </pre>

it has to be

<pre>
config.tx_extbase.persistence.classes {
   Organization {
     mapping {
       tableName = party
       recordType = Organization
     }
     subclasses {
       Company = Company
       ScientificInstitution = ScientificInstitution
     }
   }
   Person {
     mapping {
       tableName = party
       recordType = Person
     }
   }
   Company {
     mapping {
       tableName = party
       recordType = Company
     }
   }
   ScientificInstitution {
     mapping {
       tableName = party
       recordType = ScientificInstitution
     }
   }
}
</pre>

I use STI in a complex domain and it works quite well.

Regards
Jochen



More information about the TYPO3-team-core mailing list