Project

General

Profile

Actions

Defect #17163

closed

Files assigned to a version can not be deleted if Issue Tracking module is disabled

Added by Michael Esemplare almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Log

Started DELETE "/attachments/1632" for 111.111.111.11 at 2014-06-12 00:37:20 +0000
Processing by AttachmentsController#destroy as HTML
  Parameters: {"authenticity_token"=>"", "id"=>"1632"}
  Current user: user
  Rendered common/error.html.erb within layouts/base (0.2ms)
Filter chain halted as :delete_authorize rendered or redirected

Steps to recreate:
  1. Go to Project Settings Tab
  2. Create Version if one does not exist
  3. Disable Issue Tracking
  4. Go to Files Tab
  5. Create new file and set version
  6. Try to delete file

Related to #9055 and #9576.


Files

Actions #1

Updated by Toshi MARUYAMA almost 10 years ago

  • Description updated (diff)
Actions #3

Updated by Toshi MARUYAMA over 9 years ago

  • Target version set to 2.5.3
Actions #4

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Patch committed in r13390, thanks.

Actions #5

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: Atom PDF