Project

General

Profile

Actions

Bug #46631

closed

extbase problem, if you set object, but not objectName sending the form wont work

Added by Kay Strobach over 11 years ago. Updated over 4 years ago.

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}">
Actions #1

Updated by Mathias Schreiber almost 10 years ago

  • Category set to Extbase
  • Target version set to 7.5
  • Is Regression set to No
Actions #2

Updated by Benni Mack about 9 years ago

  • Target version deleted (7.5)
Actions #3

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

Also available in: Atom PDF