Bug #82346
closed
EXT:form - finishers are not called
Added by Markus Boss about 7 years ago.
Updated about 7 years ago.
Tags:
invokeFinishers isAfterLastPage
Description
Added finishers to a form are not called in frontend.
The reason I found is in the render function of class FormRuntime:
if ($this->isAfterLastPage()) {
$this->invokeFinishers();
return $this->response->getContent();
}
isAfterLastPage() is always false. This can be reproduced with the provided example form.
- Priority changed from -- undefined -- to Must have
- Status changed from New to Needs Feedback
Finishers are working just fine, please post your form definition.
renderingOptions:
submitButtonLabel: Submit
identifier: example
label: example
type: Form
prototypeName: standard
finishers:
-
options:
pageUid: '1'
additionalParameters: ''
identifier: Redirect
renderables:
-
renderingOptions:
previousButtonLabel: 'previous Step'
nextButtonLabel: 'next Step'
identifier: page-1
label: 'Contact Form'
type: Page
renderables:
-
defaultValue: ''
identifier: name
label: Name
type: Text
properties:
fluidAdditionalAttributes:
placeholder: Name
validators:
-
identifier: NotEmpty
-
defaultValue: ''
identifier: subject
label: Subject
type: Text
properties:
fluidAdditionalAttributes:
placeholder: Subject
validators:
-
identifier: NotEmpty
-
defaultValue: ''
identifier: email
label: Email
type: Text
properties:
fluidAdditionalAttributes:
placeholder: 'Email address'
validators:
-
identifier: NotEmpty
-
identifier: EmailAddress
-
defaultValue: ''
identifier: message
label: Message
type: Textarea
properties:
fluidAdditionalAttributes:
placeholder: ''
validators:
-
identifier: NotEmpty
-
renderingOptions:
previousButtonLabel: 'previous Step'
nextButtonLabel: 'next Step'
identifier: summarypage
label: 'Summary page'
type: SummaryPage
I found out, if I create a fresh installation using composer then the form example works fine.
However an fresh installation with the latest package from typo3.org won't work.
I guess since "Finishers are working just fine" at least for anyone else, this ticket can be closed.
- Status changed from Needs Feedback to Closed
Thank you for your feedback. Closing the issue as requested. If you encounter problems in the future (re)open this issue. Thanks again.
Also available in: Atom
PDF