[TYPO3-dam-devel] RFC: 0006632: DAM media browser upload not working when disallowed is set

Peter Kühn peter.kuehn at wmdb.de
Sun Nov 18 21:42:16 CET 2007


just to remark:
+1 from andreas as well, but going on to check as of michiels valid 
concerns.


georg kuehnberger schrieb:
> +1
> regards g
> 
> Peter Kuehn [wmdb] wrote:
>> This is a svn patch request.
>>
>> Type: bugfix
>>
>> Steps to reproduce:
>> - for testing simply add 
>> $TCA['tt_content']['columns']['tx_damttcontent_files']['config']['disallowed_types'] 
>> = 'php,php3'; to dam_ttcontent
>> - create a new content element fx. type image
>> - open the media browser
>>
>> Expected behaviour:
>> - no js error ;)
>>
>> Observed behaviour:
>> js-error: missing ; before statement
>> var res = 
>> parent.window.opener.php,php3("gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,...
>>
>> Reason:
>> tx_dam_tceFunc->getSingleField_typeMedia() adds the disallowed types 
>> as the sixt part of the bparams-parameter of the elementbrowser call.
>> this slot is reserved for IRRE - probably since 4.1.2 - in 
>> typo3/class.browse_links.php line 967.
>>
>>
>> Branches:
>> Head
>>
>> Bugtracker reference: http://bugs.typo3.org/view.php?id=6697
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> TYPO3-team-dam mailing list
>> TYPO3-team-dam at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-dam


More information about the TYPO3-team-dam mailing list