TYPO3 extbase: Domain object properties null

revision 1a7c2f781a8e97a6d3e1dd9e23edcaf3cbdb4b1a

raw

README.rst

Problem

I wrote my own TYPO3 v7 extbase domain object class and a repository. After loading some from database, all of the properties were empty except "uid" and "pid".

Solution

Create a TCA file for the table and fill it. If a column is not defined in the 'columns' section, its value in the loaded domain object will be null.

Apparently extbase needs the TCA definition :(

History