Edgewall Software
Modify

Opened 20 years ago

Closed 18 years ago

#588 closed enhancement (fixed)

new ticket attachments

Reported by: daragh@… Owned by: Jonas Borgström
Priority: low Milestone: 0.10
Component: ticket system Version: 0.7.1
Severity: normal Keywords:
Cc: pkou@…, jsp2001@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

new tickets do not have an attachment button, whereas existing tickets do. Is there a reason for this? We believe that you should be able to attach a file to a new ticket, especially since it may be some users only interaction with the ticket (fire&forget)

Cheers,

Daragh

Attachments (0)

Change History (13)

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

Milestone: 0.7.21.0
Priority: highlow
Severity: majorenhancement

It might be a little tricky to implement. We don't want to actually upload any files before the ticket is created so the number of files probably has to be limited to one to avoid lots of messy forms programming.

This feature might also collide with ticket preview. We don't want to upload the file to the server when the user previews the ticket.

Anyway, I'm moving this to Trac 1.0 unless anyone else volunteers to implement this.

comment:2 by vittorio, 20 years ago

#1067 and #1039 have been marked as a duplicate.

comment:3 by anonymous, 19 years ago

#1733 has been marked as a duplicate of this ticket.

comment:4 by anonymous, 19 years ago

Milestone: 1.00.11

#2750 has been marked as duplicate of this ticket.

comment:5 by anonymous, 19 years ago

Cc: pkou@… added

comment:6 by holehan@…, 19 years ago

We had a few users now who were trying to report a bug and then wondered where to attach a screenshot. When they didn't find a way to accomplish the task, they just gave up. That's not how it should work. Sure, one can attach a file after the ticket has been created, but the user first has to know about that. Right now she may think it is simply not possible…

I'd think this issue very important if not crucial for the usual ticket reporting workflow.

comment:7 by Matthew Good, 19 years ago

As jonas mentioned above, previewing a ticket would try to upload the document, which doesn't really work. If Trac saves the uploaded document and the user doesn't actually submit the ticket the file is left in limbo. If the file isn't saved then there's no way for Trac to fill in the upload field on the preview page, so the attachment will have mysteriously vanished when they submit the ticket.

However, you can use the "site_newticket.cs" file in your project's "templates" directory to add a message telling users to create the ticket and then upload the file, though perhaps a standard message should be added to the template.

comment:8 by pkou at ua.fm, 19 years ago

Why don't use session ID as a criteria of uniqueness of a ticket attachment (in addition to attachment name)? A ridiculous case when the same user uploads different files with the same name simultaneously can be ignored.

The issue with preview can be implemented by adding a separate form (or frame) for uploading attachments.

comment:9 by Matthew Good, 19 years ago

Well, after giving it some more thought I think that it would be sufficient to add a simple checkbox with the label "I would like to attach a file" (or similar).

If the box is checked they'll go directly to the attachment page after submitting the ticket. It should make it clear that they can attach a document, but get rid of some of the messy handling of uploads before the ticket is created.

comment:10 by Matthew Good, 19 years ago

Milestone: 0.110.10
Resolution: fixed
Status: newclosed

Implemented the checkbox solution in [2996]

comment:11 by anonymous, 19 years ago

The new checkbox behaviour is clearly an improvement: new users are now aware that they can attach files and are given the opportunity to do so, albeit in a separate step, but I don't follow the arguments about preview: you seem prisoner of a certain mindset and can't or won't look out of that box. Who said that preview has to show everything, including attachments, and why? Why can't the preview exclude the attachments?

comment:12 by anonymous, 18 years ago

Cc: jsp2001@… added; pkou@… removed
Milestone: 0.100.10.4
Resolution: fixed
Status: closedreopened
Version: 0.7.10.10.3.1

What about adding the ability to attach multiple files to the ticket. I'm always needing to add some copy or graphics to our site - which usually requires more than one file.

comment:13 by Emmanuel Blot, 18 years ago

Cc: pkou@… added
Milestone: 0.10.40.10
Resolution: fixed
Status: reopenedclosed
Version: 0.10.3.10.7.1

anonymous : please do not change the initial request for a ticket: search for existing ticket with the same request, and fill in a new ticket if the proposed enhancement has not been requested.

Actually, there is a ticket for your proposition: #2141

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.