* [http://www.wiki-cms.com/Typo3-Fluid Typo3-Fluid]
 
= Probleme =
== Fatal error: Call to a member function replaceObject() on a non-object in typo3/sysext/extbase/Classes/Persistence/Repository.php on line 222 ==
 
folgendes löst das Problem, weiß aber nicht genau ob das nicht anders besser geht
 
<source lang="php">
public function updateAction(Tx_Ncfluid_Domain_Model_Table $tablerow) {
 
$objectManager = t3lib_div::makeInstance('Tx_Extbase_Object_ObjectManager');
$tableRepository = $objectManager->get('Tx_Ncfluid_Domain_Repository_TableRepository');
$tableRepository->update($tablerow);
 
// alter code führte zur Fehlermeldung;
// @see initializeAction -- $this->tableRepository =& t3lib_div::makeInstance('Tx_Ncfluid_Domain_Repository_TableRepository');
// $this->tableRepository->update($tablerow);
// $this->flashMessageContainer->add('Your tablerow was updated.');
 
$this->redirect('index');
}
</source>
=Quellen=
* [http://t3-developer.com/extbase-fluid/datepicker/ Datumseingaben in Fluid Formularen - Datepicker]
* [http://www.typo3.net/forum/beitraege/extbase_und_fluid/108844/ Could not ultimately dispatch the request after 101 iterations ]
Änderungen – Vosp.info

Navigationsmenü