Project

General

Profile

Actions

Defect #8089

closed

Error trying to delete XML attachment

Added by Cassiano Monteiro over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
-
Start date:
2011-04-06
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When I try to delete a XML attachment, I receive an internal error (redmine 500 error). From the log, I got this:

Errno::EACCES (Permission denied - C:/webserver/Redmine/files/110322161851_file.xml):
  app/models/attachment.rb:96:in `delete'
  app/models/attachment.rb:96:in `after_destroy'
  app/controllers/attachments_controller.rb:51:in `destroy'

Rendering C:/webserver/Redmine/public/500.html (500 Internal Server Error)

I can upload and delete any other file type, that just happens with XML.

Steps to reproduce:
1. On the tab "Documents", create a new document
2. Fill the information, attach a XML file and save.
3. Try to delete the XML file by clicking on the trash bin icon.

Actions

Also available in: Atom PDF