Actions
Bug #82346
closedEXT:form - finishers are not called
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-09-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
invokeFinishers isAfterLastPage
Complexity:
Is Regression:
Sprint Focus:
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.
Updated by Markus Boss about 7 years ago
- Priority changed from -- undefined -- to Must have
Updated by Mathias Brodala about 7 years ago
- Status changed from New to Needs Feedback
Finishers are working just fine, please post your form definition.
Updated by Markus Boss about 7 years ago
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
Updated by Markus Boss about 7 years ago
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.
Updated by Markus Boss about 7 years ago
I guess since "Finishers are working just fine" at least for anyone else, this ticket can be closed.
Updated by Björn Jacob about 7 years ago
- 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.
Actions