Re: FileField truncation/exception on path string overflow (#9893)

2009-04-07 Thread Shai Berger
On Tuesday 07 April 2009 11:45:54 akaihola wrote: > Continuing the discussion from http://code.djangoproject.com/ticket/9893 > here. > > Summary: FileField and ImageField have a problem when the length of > the file path relative to MEDIA_ROOT exceeds 100 characters (or the > overridden max_length

FileField truncation/exception on path string overflow (#9893)

2009-04-07 Thread akaihola
Continuing the discussion from http://code.djangoproject.com/ticket/9893 here. Summary: FileField and ImageField have a problem when the length of the file path relative to MEDIA_ROOT exceeds 100 characters (or the overridden max_length). I get a 500 server error (with PostgreSQL) and the origina