Opened 21 years ago
Closed 18 years ago
#588 closed enhancement (fixed)
new ticket attachments
Reported by: | 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 , 21 years ago
Milestone: | 0.7.2 → 1.0 |
---|---|
Priority: | high → low |
Severity: | major → enhancement |
comment:4 by , 19 years ago
Milestone: | 1.0 → 0.11 |
---|
#2750 has been marked as duplicate of this ticket.
comment:5 by , 19 years ago
Cc: | added |
---|
comment:6 by , 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 , 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 , 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 , 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 , 19 years ago
Milestone: | 0.11 → 0.10 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Implemented the checkbox solution in [2996]
comment:11 by , 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 , 18 years ago
Cc: | added; removed |
---|---|
Milestone: | 0.10 → 0.10.4 |
Resolution: | fixed |
Status: | closed → reopened |
Version: | 0.7.1 → 0.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 , 18 years ago
Cc: | added |
---|---|
Milestone: | 0.10.4 → 0.10 |
Resolution: | → fixed |
Status: | reopened → closed |
Version: | 0.10.3.1 → 0.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
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.