[FLOW3-general] Beginner issue with createAction() with two parameters

Christine Gerpheide cgerpheide at gmail.com
Sun Jan 10 15:39:37 CET 2010


Hello, sorry for the delay.

Adding the @dontverifyrequesthash annotation does allow the object to be
created.  I am using alpha6 and the form is POST.  However, when I addTab()
was called inside of the updateAction, I was getting the following error:
 "#1219424096: The identifier requested is already in use."

The addTab() method was using $this->tabs->attach($tab), but looking over
the documentation again I see that this line has changed to
$this->tabs[$tab->getIdentifier()] = $tab.  When I use that in my code
instead, though, I get the error "Call to undefined method
\...\Tab_AOPProxy_Development::getIdentifier()".  Do I have to write this
method now, or is it because it's confused by the proxy object?

I realize now that I should go through the documentation again, but guidance
on the above would be very helpful as well.  Also if it would be better for
a simple application (like this one is), switching to an older tag of flow3
is also an option for me.

Thanks,
Christine

2009/12/25 Christine Gerpheide <cgerpheide at gmail.com>

> Hi,
>
> Thank you both for the replies.  I had previously tried using
> @dontverifyrequesthash, which did work for the createAction() and the
> objects were successfully created.  However, when I went to try to edit the
> object and submit the form back to updateAction() (which also needed the
> annotation), I was getting another error indicating *something* like it
> could not find the original object when I was trying to perform the actual
> update inside the action.  Unfortunately I don't remember the exact error,
> but after I return from vacation I will give it another try and post here
> with my findings.
>
> Thanks again,
> Christine
>
>
> 2009/12/25 Sebastian Kurfürst <sebastian at typo3.org>
>
> > Hi Christine,
> >
> > alternatively, add the annotation @dontverifyrequesthash to your
> > controller action.
> >
> > Did you declare the form to be POST? The request hash only works
> > correctly for POST data.
> >
> > Greets,
> > Sebastian
> > _______________________________________________
> > FLOW3-general mailing list
> > FLOW3-general at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
> >
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>


More information about the FLOW3-general mailing list