[TYPO3-mvc] Extbase PropertyMapper in 1.2.0 (TYPO3 4.4)

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Thu Feb 10 17:32:23 CET 2011


Hello guys!

Previously I was able to do this:

$propertyMapper->map(array('cartItems'), array('cartItems' => 
$cartItems), $this->customer);

Not sure, but I think since TYPO3 4.4 (Extbase 1.2) this
doesn't work anymore as the cartItems are empty then.

$cartItems is an array:
Array(
   [5] => Array(
     [quantity] => 15
     [__identity] => 5
   )
)

It's about updating a cart item's quantity.

Has there anything changed in the property mapper
which would cause to clear all cart items instead
of updating the quantity?

I'm a bit lost here.

Thanks for help,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list