{"type":"rich","version":"1.0","provider_name":"phorkie","provider_url":"https:\/\/p.cweiske.de\/","title":"TYPO3 extbase: Domain object properties null","author_name":"Christian Weiske","cache_age":86400,"width":900,"height":900,"html":"<!-- embedding all files of https:\/\/p.cweiske.de\/760 -->\n<link rel=\"stylesheet\" href=\"https:\/\/p.cweiske.de\/css\/embed.css\"\/>\n<div class=\"phork\" id=\"760\">\n    <div class=\"phork-file\">\n <div class=\"phork-content\">\n  \n<div class=\"document\">\n\n\n<div class=\"section\" id=\"problem\">\n<h1>Problem<\/h1>\n<p>I wrote my own TYPO3 v7 extbase domain object class and a repository.\nAfter loading some from database, all of the properties were empty except &quot;uid&quot; and &quot;pid&quot;.<\/p>\n<\/div>\n<div class=\"section\" id=\"solution\">\n<h1>Solution<\/h1>\n<p>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 <tt class=\"docutils literal\">null<\/tt>.<\/p>\n<p>Apparently extbase needs the TCA definition :(<\/p>\n<\/div>\n<\/div>\n\n <\/div>\n <div class=\"phork-meta\">\n  <a href=\"https:\/\/p.cweiske.de\/760\/rev-raw\/1a7c2f781a8e97a6d3e1dd9e23edcaf3cbdb4b1a\/README.rst\" style=\"float: right\">view raw source<\/a>\n  <a href=\"https:\/\/p.cweiske.de\/760#README.rst\">README.rst<\/a>\n <\/div>\n<\/div>\n<\/div>\n"}
