Actions
Bug #46631
closedextbase problem, if you set object, but not objectName sending the form wont work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2013-03-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
extbase problem, if you set object, but not objectName sending the form wont work
Works
<f:form action="create" noCache="1" object="{issue}" objectName="issue">
Should throw exception
<f:form action="create" noCache="1" object="{issue}">
Updated by Mathias Schreiber almost 10 years ago
- Category set to Extbase
- Target version set to 7.5
- Is Regression set to No
Updated by Susanne Moog over 4 years ago
- Status changed from New to Closed
This should not throw an exception, because we don't actually know what you wanted to do and you could be doing complex stuff:
The objectName is used to auto-set and prefix the name of the form fields, however, I would not need to set the objectName at all if I simply set the names myself. So setting it is basically only a convenience function of the form view helper, not a must have. (just tested that it works with manual settings).
Going to close this issue now.
Actions