[TYPO3-mvc] Tx_ExtbaseDam_Utility_Dam::get returns empty objects
Armin Rüdiger Vieweg
info at professorweb.de
Thu Oct 20 20:56:12 CEST 2011
Hello,
I have a bug when using the get-method of Tx_ExtbaseDam_Utility_Dam.
$results = Tx_ExtbaseDam_Utility_Dam::get('tt_news', $this->getUid(),
'tx_damnews_dam_images');
I get an array with objects which are assigned to this tt_news entry, but
they are empty. They contain the uid and pid but all other attributes are
empty.
Inside of the get-method stands:
$dataMapper =
t3lib_div::makeInstance('Tx_Extbase_Persistence_Mapper_DataMapper');
$objects = $dataMapper->map('Tx_ExtbaseDam_Domain_Model_Dam', $rows);
The $rows array contains all values, but the dataMapper doesn't seems to
put them in the object.
Hope you have any ideas, what I am making wrong.
Thanks!
--
~Armin
More information about the TYPO3-project-typo3v4mvc
mailing list