[TYPO3-german] Fehlermeldung: "The action "edit" (controller "Twin") is not allowed by this plugin."

Chris Wolff - AERTiCKET AG cwolff at aer.de
Tue Mar 24 09:06:52 CET 2015


Hi Hast du die Extension mal per Extension Manager Deaktiviert/Aktiviert?
Ich hab festgestellt das gerade bei änderungen der actions der der codecache nicht korrekt aktualisiert wird.

Gruss chris

-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Ralf-Rene Schröder
Gesendet: Dienstag, 24. März 2015 08:11
An: typo3-german at lists.typo3.org
Betreff: Re: [TYPO3-german] Fehlermeldung: "The action "edit" (controller "Twin") is not allowed by this plugin."

Hi...
keiner eine Idee was ich hier falsch mache ???

Am 21.03.2015 um 19:13 schrieb Ralf-Rene Schröder:
> vielleicht hat ja jemand einen Tipp für einen extbase Anfänger ?
> 
> bei Aufruf der "bearbeiten" Seite mit folgender URL:
> domain.de/bearbeitungsseite/
> ?tx_romantica_twins[twin]=XX
> &tx_romantica_twins[action]=edit
> &tx_romantica_twins[controller]=Twin
> &cHash=xxx
> 
> bekomme ich immer folgenden Fehler:
> "The action "edit" (controller "Twin") is not allowed by this plugin."
> 
> aber ich habe in der ext_localconf.php folgendes definiert:
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
> 'ImageFORMAT.' . $_EXTKEY,
> 'Twins',
> array(
> 	'Twin' => 'list, show, new, create, edit, update'		
> ),
> // non-cacheable actions
> array(
> 	'Twin' => 'list, show, new, create, edit, update'		
> )
> );
> 
> und auch in der flexform steht folgendes:
> <switchableControllerActions>
> <TCEforms>
> <label>Select function</label>
> <config>
> <type>select</type>
> <items>
> ...
> 	<numIndex index="4">
> 		<numIndex index="0">Twin bearbeiten</numIndex>
> 		<numIndex index="1">Twin->edit;Twin->update</numIndex>
> 	</numIndex>
> ...
> </items>
> </config>
> </TCEforms>
> </switchableControllerActions>
> 
> die entsprechenden Controller lauten:
> 	/**
> 	 * action edit
> 	 *
> 	 * @param \imageFORMAT\Romantica\Domain\Model\Twin $twin
> 	 * @ignorevalidation $twin
> 	 * @return void
> 	 */
> public function editAction(\imageFORMAT\Romantica\Domain\Model\Twin $twin) {
> 	$this->view->assign('twin', $twin);
> }
> 
> 	/**
> 	 * action update
> 	 *
> 	 * @param \imageFORMAT\Romantica\Domain\Model\Twin $twin
> 	 * @return void
> 	 */
> public function updateAction(\imageFORMAT\Romantica\Domain\Model\Twin
> $twin) {
> 	$this->addFlashMessage('The object was updated. Please be aware that 
> this action is publicly accessible unless you implement an access check.
> See <a
> href="http://wiki.typo3.org/T3Doc/Extension_Builder/Using_the_Extension_Builder#1._Model_the_domain"
> target="_blank">Wiki</a>', '',
> \TYPO3\CMS\Core\Messaging\AbstractMessage::ERROR);
> 	$this->twinRepository->update($twin);
> 	$this->redirect('list');
> }
> 
> also noch original, ich hab noch nicht mal die Prüfung auf die 
> "erlaubnis" zum editieren (also ob es ein eigener Datensatz ist)
> 
> was fehlt noch ???
> list und show funktionieren...
> bei create habe ich das gleiche Problem...
> 

--
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format _______________________________________________
TYPO3-german mailing list
TYPO3-german at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


More information about the TYPO3-german mailing list