[TYPO3-dev] Re: extbase: file upload in plugin no longer working since 6.1.0.
B L Praveen
blpraveen2004 at gmail.com
Thu Jul 11 09:41:02 CEST 2013
I was getting the same error.
And after adding initializeAction() to controller error did not occur.
public function initializeAction() {
if ($this->arguments->hasArgument('newModel')) {
$this->arguments->getArgument('newModel')->getPropertyMappingConfiguration()->setTargetTypeForSubProperty('imagepath', 'array');
}
}
But while updating into database it is passing the value of the field as array
UPDATE table SET imagepath=('','','','4','0') tstamp='1373527817', sys_language_uid=NULL WHERE uid='2'
And I get error "Operand should contain 1 column"
More information about the TYPO3-dev
mailing list