[TYPO3-dev] extbase: replace an object by another

Alex Bigott a.bigott at pixel-ink.de
Thu Aug 21 14:34:52 CEST 2014


Hi,

in extbase i would like to replace an object with a new one.
The repository has the old and deprecated method "replace" which does 
exactely nothing.

So what is the best way to update an object?

I don't see how i could use the "update" method, since i am not able to 
set the uid of my unpersistet new object.

Any tips or do i have to do it manually for each attribute in the object?

Thanks

Alex



-- 

Mit freundlichen Gru"?en

Alex Bigott

pixelink_200_ohne_claim

Pixel Ink

Adi-Maislinger-Str. 7

81373 Mu"nchen

Fest: +49 89 4520689-12

Fax: +49 89 4520689-10

web: www.pixel-ink.de <http://www.pixel-ink.de/>

E-Mail:a.bigott at pixel-ink.de <mailto:a.bigott at pixel-ink.de>

<https://www.facebook.com/pixelink.muc>






More information about the TYPO3-dev mailing list