Code

Opened 7 years ago

Closed 7 years ago

#3367 closed (worksforme)

Overloading save_<fieldname>_file for Filefields and ImageFields broken

Reported by: Jam Owned by: adrian
Component: Database layer (models, ORM) Version: master
Severity: Keywords: filefield imagefield save
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The save_<fieldname>_file is not called when an object of a class containing a FileField or an ImageField is saved.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Jam

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

To be more accurate, it is working now I have renamed my two fields ImageFields from "illustration", "illustration_mini" to "source", "source_mini".
Maybe it was due to the field name length ?

comment:2 Changed 7 years ago by SmileyChris

  • Resolution set to worksforme
  • Status changed from new to closed

Perhaps... I'll close for now. Please reopen if you can narrow this possible bug down.

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.