Opened 13 years ago

Closed 13 years ago

#5315 closed (duplicate)

imagefile and not long path

Reported by: micalab@… Owned by: Philippe Raoult
Component: Core (Other) Version: 0.96
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


first sorry for my bad english.
The file image have a too short charater.
I have a site of photo (from the world). The path im my disk is, for example : "/var/web/image/California/Mon and death valley san Francisco/Mon and death valley san Francisco 139.jpg" it's too long, it's 104 charaters.
I mannualy alter table, but it's not a good idea.
In my opion will be a good idea add a max_length arguments.
Thank you.

Change History (3)

comment:1 Changed 13 years ago by Collin Grady <cgrady@…>

The field should not be storing the full path - if you set MEDIA_ROOT properly, it only has to store a little bit of that at the end, since the paths there are used relative to MEDIA_ROOT and MEDIA_URL :)

comment:2 Changed 13 years ago by Philippe Raoult

Owner: changed from nobody to Philippe Raoult
Status: newassigned
Triage Stage: UnreviewedAccepted

looks like a dup of #231, but maybe it's only a very similar issue

comment:3 Changed 13 years ago by Philippe Raoult

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.
Back to Top