#6390 closed defect (worksforme)
Cannot view attachment of a Ticket
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | attachment | Version: | 0.10.4 |
Severity: | major | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Not able to view an attachment.
Possible cause could be: I have a project with following directory structure
project | `-- attachments | `-- ticket | `-- 30 |-- conf |-- htdocs |-- log |-- plugins |-- templates `-- wiki-macros
While the link to the attachment is http://<IP>/project/attachment/ticket/30/somefile
I notice that attachment directory is with extra 's' ( plural ).
Attachments (0)
Change History (6)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Keywords: | needinfo added |
---|
attachments
is the right spelling for the folder.
Some questions:
- what is the exact error / backtrace you're seeing?
- does this happen just for one attachment (which filename?) or for all?
Anyway, this is most probably an installation issue, so double check if there wasn't any manual change later on (the attachments folder and its subfolders must be writable by the user running the Trac server).
follow-ups: 4 6 comment:3 by , 17 years ago
Replying to anonymous:
I have a project with following directory structure
project | `-- attachments | `-- ticket | `-- 30
Is it? It should have been
project | `-- attachments | `-- ticket | `-- 30
Windows installation …
Give a try with another ticket, the ticket
directory might have been moved with some user unexpected drag and drop action within an Explorer window ;-)
comment:4 by , 17 years ago
I don't see any backtrace
If I attach a txt file it works fine. However, if I attach *.patch files it does not work. Can u please suggest on the solution?
I think it is problem to the mime type. Is it possible to choose the mimetype or autodetect mimetypes while upload?
comment:5 by , 17 years ago
Can any one help me on how do I setup Trac for *.patch files to be visible?
comment:6 by , 17 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing this now, as this was most likely a local installation issue.
Just to mention this is a windows installation.