[TYPO3-mvc] One Page, use plugins multiple is not possible?

Stephen Bungert stephenbungert at yahoo.de
Thu Aug 2 14:58:21 CEST 2012


I had a similar problem (http://forge.typo3.org/issues/37245)

It was suggested just to create a separate plugin, which I did

"Robert Schneider" <r.schneider at artworx.at> schrieb im Newsbeitrag 
news:mailman.1.1343834788.2972.typo3-project-typo3v4mvc at lists.typo3.org...
> Hi,
>
> I'm just stumbled on the fact that it is not possible to use a plugin 
> several times on a page. At least in my scenario: I have a plugin that can 
> be included into a page with a flexform to choose the action that should 
> be called. I have tried to use it with two different actions on a single 
> page.
>
> The first call works. But the one action has another action that can be 
> called (Fluid template with f:link.action) and this does not work. I get 
> the error "The action "bla" (controller "myext") is not allowed by this 
> plugin". If I remove the second usage of the plugin on the page all works 
> fine.
>
> In other words:
>
> Extension with Plugin, included in page with flexform. Plugin offers:
> action A & B
> action C
>
> 1. scenario
> Page with one plugin element: action A & B
>
> 2. scenario
> Page with two plugin elements: first element action A & B, second element 
> action C
>
> The first page call works fine with both scenarios: action A and action C 
> are called. Now, if the user clicks on action B the first scenario works 
> fine, the second creates the error.
>
> Actually, I don't need the two inclusions. I just stumbled on it when I 
> was trying something out and I could not find the reason why I've got this 
> error ("what is wrong now?! the action is definitly allowed! damn 
> extbase..."). So, good to know, that this may cause troubles. I'm just 
> wondering why is this? Is this a bug? Or can it only be like this? Has 
> anything to be configured?
>
> It's not a problem for me. I'm just curious.
>
> Regards,
> Robert 




More information about the TYPO3-project-typo3v4mvc mailing list