Opened 17 years ago

Closed 17 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

Description

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 by Collin Grady <cgrady@…>, 17 years ago

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 by Philippe Raoult, 17 years ago

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 by Philippe Raoult, 17 years ago

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