Opened 8 years ago

Closed 8 years ago

#5315 closed (duplicate)

imagefile and not long path

Reported by: micalab@… Owned by: PhiR
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: UI/UX:


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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 8 years ago by PhiR

  • Owner changed from nobody to PhiR
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

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

comment:3 Changed 8 years ago by PhiR

  • Resolution set to duplicate
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.
Back to Top