[TYPO3-dam] List > Process does not respect TCA options

Dan Osipov dosipov at phillyburbs.com
Thu Mar 26 15:45:04 CET 2009


Yes, it should be possible.

But I wouldn't hold my breath while this is fixed.

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

Jan Wulff wrote:
> Shouldn't it be at least possible, to import the most common options from 
> TCA (like 'required', 'trim', 'size' and so on) and use them with whatever 
> methods the process submodule uses? Also I've noticed that the indexing 
> submodule does not use the common TCEForms warning messages, but the 
> TCA option 'size' does work anyhow.
> 
> Kind Regards
> Jan
> 
> Dan Osipov wrote:
>> The Process submodule, much like many other sections of the DAM don't
>> use TCEForms, and therefore ignore some TCA options. Fixing this is not
>> easy...
>>
>> Dan Osipov
>> Calkins Media
>> http://danosipov.com/blog/
>>
>> Jan Wulff wrote:
>>> Hi,
>>>
>>> I'm trying to limit the maximum allowed numbers of categories per file to
>>> one. That should be quite easy by using:
>>> $TCA['tx_dam']['columns']['category']['config']['maxitems'] = 1;
>>>
>>> This works with File->Indexing and List->List (edit), but is ignored in
>>> List->Process, where I can still add more than one categories to a file.
>>>
>>> I checked the source of the page, but all the JS functions, which should
>>> prevent the assignment of more than one category, are there.
>>>
>>> Does anyone have an idea? I just disabled the process feature
>>> (mod.txdamM1_list.menu.function.tx_dam_list_batch = 0) for now, but that
>>> isn't really a solution.
>>>
>>> I filled a bug request, too:
>>> http://bugs.typo3.org/view.php?id=10778
>>>
>>> Kind Regards
>>> Jan
> 
> 


More information about the TYPO3-project-dam mailing list