[TYPO3-dam-devel] RFC #10015: dam tries to load $TCA['tt_news'] without checking whether the ext is loaded

Dan Osipov dosipov at phillyburbs.com
Fri Dec 26 15:39:44 CET 2008


I think the issue with dam_ttnews is javascript, related to the changes 
in TYPO3 4.2 TCEforms.
Is anyone looking into it/fixing it?

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Uschi Renziehausen wrote:
> Hi,
> 
> perhaps these lines should not be in dam, but can we please postpone 
> further reorganisation to 1.2? If I remember right there was an issue 
> with dam_ttnews, but I do not know whether or not these lines have to do 
> with it.
> 
> Uschi
> 
> Dan Osipov wrote:
>> It was introduced by patch 9819.
>> Perhaps Stanislas can explain the usage of this? Was it a test that 
>> was left in the code?
>>
>> Dan Osipov
>> Calkins Media
>> http://danosipov.com/blog/
>>
>> Francois Suter wrote:
>>> Hi,
>>>
>>>> Solution:
>>>> Only load TCA for tt_news if tt_news is loaded.
>>>
>>> The fix is quite obvious. However it makes me wonder what is a TCA 
>>> modification of tt_news doing in the middle of the DAM. I understand 
>>> it is used to enable correct indexing of soft references, but IMHO 
>>> code in the DAM shouldn't make the hypothesis that tt_news is 
>>> installed. Shouldn't this belong to another extension altogether? 
>>> tt_news itself?
>>>
>>> And also, why are soft references searched for in the title of the 
>>> news item? Can we really have a media tag inside there?
>>>
>>> Cheers
>>>


More information about the TYPO3-team-dam mailing list