[TYPO3-dam-devel] RFC #15342: Call to deprecated function in class.tx_dam_tcefunc.php

Lorenz Ulrich lorenz-typo3 at visol.ch
Thu Jan 20 15:46:29 CET 2011


Reminder #1.

Am 09.12.2010 16:19, schrieb Lorenz Ulrich:
> Hello DAM people!
>
> This is a SVN patch request.
>
> Type: compatibility fix
>
> BT reference: http://bugs.typo3.org/view.php?id=15342
>
> Problem:
> class.tx_dam_tcefunc.php uses t3lib_TCEforms->noTitle() to replace a not
> existing title of a DAM element to a localized [No title] in TCEforms
> (i.e. for the image field in tt_content table).
>
> t3lib_TCEforms->noTitle() is deprecated since 4.1.
>
> Solution:
> The attached patch checks for the existence of a title and outputs [No
> title] by using t3lib_BEfunc::getNoRecordTitle if no title is set.
>
> Comment:
> It is highly unlikely that you will encounter DAM items without title as
> the title is a mandatory field and automatically generated on indexing a
> file. So you need to remove a title manually in the database to see this
> [No title].
>
>
> Best regards,
>
>
> Lorenz



More information about the TYPO3-team-dam mailing list