[TYPO3-dam-devel] RFC: Bugfix: 6342: Length of the DB fields "file_name" and "file_path" in DB table "tx_dam" are too short

Michiel Roos michiel at netcreators.com
Thu Nov 1 19:42:15 CET 2007


Michiel Roos wrote:
> Need to cook up a new patch. Just discovered that the table will not 
> be created on a fresh installation of the DAM because yo cannot set a 
> TEXT column as primary key.
Please test this new patch which:
- removes the key for file_path
- changes the max value to 4096 instead of 10000 for the file_path field 
in tca because this is the max path length according to: 
http://en.wikipedia.org/wiki/Comparison_of_file_systems#_ref-note-16_0
- updates the table creation of tx_dam_file_tracking as well, this table 
also uses file_name and path_length. It does not have any tca definition.

Kind regards,


Michiel Roos

-- 
Netcreators BV :: creation and innovation
www.netcreators.com 

Interesse in werken bij Netcreators?
http://www.netcreators.com/bedrijf/vacatures/ 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_6342_take_two.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20071101/e84e5321/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: michiel.vcf
Type: text/x-vcard
Size: 292 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20071101/e84e5321/attachment.vcf 


More information about the TYPO3-team-dam mailing list