[TYPO3-mvc] Problems with table mapping

Peter Niederlag typo3-list at niekom.de
Fri Apr 15 12:38:07 CEST 2011


Hello,

Am 15.04.2011 11:38, schrieb Manfred Rutschmann:
> Am Wed, 13 Apr 2011 16:15:00 +0200 schrieb Peter Niederlag:
[...]
> 			$propertyMetaData =
> $this->reflectionService->getClassSchema($className)->getProperty($key);
> 			var_dump($propertyMetaData);

rather check this one:

$this->reflectionService->getClassSchema($className)->uuidPropertyName()

(not the metadata of the property!)
Chances are IMO high it returns the uuid column.

If so than you just need to add support on that in 
"DataMapper->mapSingleRow()" by using "ClassScheme->uuidPropertyName()" 
instead of hardcoded 'uid'.

[...]

Greets and hth,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-typo3v4mvc mailing list