Edgewall Software

Opened 18 years ago

Closed 18 years ago

#27 closed enhancement (fixed)

Attaching files to tickets [merge]

Reported by: Jonas Borgström Owned by: rocky
Priority: highest Milestone: 0.7
Component: ticket system Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


It should be possible to attach files (for example: patches and screenshots) to tickets.

Attachments (1)

h015.jpg (88.1 KB ) - added by anonymous 17 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 by Jonas Borgström, 18 years ago

This should probably be implemented to work with both tickets and wiki pages.

comment:2 by daniel, 18 years ago

Severity: normalmajor
Version: 2.0

comment:3 by daniel, 18 years ago

Milestone: 1.0
Version: 2.0devel

comment:4 by daniel, 18 years ago

Severity: majorenhancement

comment:5 by Jonas Borgström, 18 years ago

Milestone: 1.00.7

comment:6 by daniel, 18 years ago

Priority: highhighest

comment:7 by rocky, 18 years ago

Owner: changed from Jonas Borgström to rocky
Status: newassigned

This is nearing completion. All work for this feature is being done in the /branches/rocky-dev/features/ticket_attachment_support-based_on_trunk branch.

comment:8 by rocky, 18 years ago

Outstanding items to complete with this are:

1) Change use of TRAC_REPOS to TRAC_ENV 2) Switch from camelcase to more typical python conventions 3) Change path usage to use os.path.join

comment:9 by rocky, 18 years ago

Summary: Attaching files to ticketsAttaching files to tickets [merge]

Outstanding items have been completed.

comment:10 by Jonas Borgström, 18 years ago

Merged in [409].

We still need to add a max size limit before closing this ticket.

comment:11 by daniel, 18 years ago

Also, attaching another file with the same name as an existing attachment, overwrites the existing file.

The proper way is probably to append '.N' to the name where N is a sequence number. If the file has a suffix (like .png), the sequence number should be added before the prefix.


  • Attach test.png
  • Attach another file named test.png ⇒ renamed test.1.png
  • Attach test
  • Attach another file named test ⇒ renamed test.1

comment:12 by rocky, 18 years ago

So what we're basically talking about adding here are the following..

  • Add default max size limit
  • Allow max size limit to be configurable
  • Attachments added with same name should get auto-numbered so they don't overwrite
  • Ability to delete attachments

comment:13 by Jonas Borgström, 18 years ago

max size limit added now.

Things left todo:

  • auto-number files to avoid overwrites
  • delete support.

comment:14 by Jonas Borgström, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [445].

by anonymous, 17 years ago

Attachment: h015.jpg added


Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain rocky.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from rocky to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.