[TYPO3-dam-devel] RFC #18057: Bug: Calling tx_dam::meta_putData($uid, $meta, $mode) ends with fatal error

Lorenz Ulrich lorenz-typo3 at visol.ch
Thu Jul 28 22:27:38 CEST 2011


Merged in Git.

Am 26.07.2011 00:12, schrieb Lorenz Ulrich:
> Now pending in Gerrit, please confirm it on
> https://review.typo3.org/#change,3716
>
> Am 26.04.2011 14:51, schrieb Dan Osipov:
>> +1 by reading
>>
>> On 4/26/11 8:04 AM, Lorenz Ulrich wrote:
>>> Hi everyone,
>>>
>>> this is an SVN patch request.
>>>
>>> Type: Bugfix
>>>
>>> Bugtracker reference: http://bugs.typo3.org/view.php?id=18057
>>>
>>> Branches: trunk
>>>
>>> Problem:
>>> The Fatal error received when calling tx_dam::meta_putData is "Using
>>> $this when not in object context". The reason is that the method
>>> insertUpdateData from class tx_dam_db tries to access the attribute
>>> "errorLog" (lines 361 and 365 "if (count($this->errorLog)) return
>>> false;").
>>>
>>> Solution:
>>> $errorLog is a variable in tx_dam, but in TCEmain, that's why the call
>>> of $this->errorLog is wrong, it should be $tce->errorLog.
>>>
>>>
>>> Best regards,
>>>
>>>
>>> Lorenz
>>
>



More information about the TYPO3-team-dam mailing list