Vote #75300
完了Files assigned to a version can not be deleted if Issue Tracking module is disabled
0%
説明
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:
Go to Project Settings Tab¶
Create Version if one does not exist¶
Disable Issue Tracking¶
Go to Files Tab¶
Create new file and set version¶
Try to delete file¶
Related to #9055 and #9576.
journals
--------------------------------------------------------------------------------
Uploaded patch against trunk with updated test case.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Patch committed in r13390, thanks.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------