Bug #36723
The action URI of a form should be equal to the request URI
Status: | Resolved | Start date: | 2012-04-30 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
The action target for the Forms is always directed to the index action in the context of the BackendModule.
Since the Form should always have the current action as target i've attached a diff to set the actionUri in the FormViewHelper automatically.
Associated revisions
[BUGFIX] The action URI of a form should be equal to the request URI
Currently the action URI of a form is created by the UriBuilder thus
using the Routing framwork. This can lead to missing arguments and
non-resolving routes.
This fixes this by overriding the setFormActionUri() method of the
FormViewHelper setting the action attribute of the form tag to the
requested URI
Change-Id: I65f7c78f695e025475426284477ba5eb4dffd4ae
Fixes: #36723
History
#1 Updated by Bastian Waidelich over 3 years ago
- Subject changed from Wrong Form action in BackenModule Context to The action URI of a form should be equal to the request URI
- Status changed from New to Accepted
- Assigned To set to Bastian Waidelich
#2 Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10938
#3 Updated by Bastian Waidelich over 3 years ago
- Status changed from Accepted to Under Review
#4 Updated by Bastian Waidelich about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100