[Flow] Workaround for cloning proxy classes
Christian Wenzel
c_wenzel at live.de
Mon Mar 30 00:07:50 CEST 2015
Hi,
for Flow 3.0 there is a Bugfix
http://docs.typo3.org/flow/TYPO3FlowDocumentation/latest/TheDefinitiveGuide/
PartV/ChangeLogs/300-beta1.html#bugfix-support-persisting-cloned-related-ent
ities as I need to implement this right now without Flow 3.0 is there a
workaround for that till Flow 3.0.
Somhow I would need to to add something to get the object, not the Proxy
before I can do:
$addressClone = clone $job->getAddress();
$this->addressRepository->add($addressClone);
Best regards,
Christian
More information about the Flow
mailing list