<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>TYPO3 extbase: Domain object properties null</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/760 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="760"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;div class="section" id="problem"&gt;
&lt;h1&gt;Problem&lt;/h1&gt;
&lt;p&gt;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 &amp;quot;uid&amp;quot; and &amp;quot;pid&amp;quot;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="solution"&gt;
&lt;h1&gt;Solution&lt;/h1&gt;
&lt;p&gt;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 &lt;tt class="docutils literal"&gt;null&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Apparently extbase needs the TCA definition :(&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/760/rev-raw/1a7c2f781a8e97a6d3e1dd9e23edcaf3cbdb4b1a/README.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/760#README.rst"&gt;README.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
