Code

Opened 7 years ago

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

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.

Attachments (0)

Change History (3)

comment:1 Changed 7 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 7 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 7 years ago by PhiR

  • Resolution set to duplicate
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.