https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-05-30T15:14:08ZRedmineRedmine - Defect #11053: Cannot delete issuehttps://www.redmine.org/issues/11053?journal_id=385582012-05-30T15:14:08ZAntoine Rodriguez
<ul></ul><p>I don't know if I must do another ticket but :</p>
<p>hen we try to delete a file inside that same issue, it show the download dialog instead of deleting the file.</p> Redmine - Defect #11053: Cannot delete issuehttps://www.redmine.org/issues/11053?journal_id=385662012-05-30T17:50:53ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Sorry I can't fix anything with this bug report. Deleting an issue is part of the automated tests and works with a fresh Redmine install.</p> Redmine - Defect #11053: Cannot delete issuehttps://www.redmine.org/issues/11053?journal_id=542602014-01-12T15:31:45Zdean chen
<ul></ul><p>I ran into the same problem.<br />My redmine is 2.4.2. I can create a new project and delete it. but cannot delete the issue even using admin account.<br />My new project name is "ToDo", the new issue is called "mop the floor", just a testing issue. :)</p>
<pre>
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Back
</pre>
<p>My log file has some error info below:<br /><pre>
Started DELETE "/issues/15" for 119.80.97.56 at 2014-01-12 23:36:11 +0800
Processing by IssuesController#destroy as HTML
Parameters: {"authenticity_token"=>"1B+9fGUOgXZ4mc3p2kibeQsWgOESmcgARpDiZHwisBI=", "id"=>"15"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 38.1ms
ActiveRecord::StatementInvalid (Mysql2::Error: Table 'redmine.todo_items' doesn't exist: SHOW FULL FIELDS FROM `todo_items`):
app/models/issue.rb:179:in `destroy'
app/controllers/issues_controller.rb:329:in `block in destroy'
app/controllers/issues_controller.rb:327:in `each'
app/controllers/issues_controller.rb:327:in `destroy'
</pre></p> Redmine - Defect #11053: Cannot delete issuehttps://www.redmine.org/issues/11053?journal_id=542652014-01-13T08:19:18ZDaniel Felix
<ul></ul><p>Do you have Plugins installed?</p>
<p>redmine.todo_items is no table from a fresh redmine installation.</p> Redmine - Defect #11053: Cannot delete issuehttps://www.redmine.org/issues/11053?journal_id=542662014-01-13T08:23:42Zdean chen
<ul></ul><p>Daniel Felix wrote:</p>
<blockquote>
<p>Do you have Plugins installed?</p>
<p>redmine.todo_items is no table from a fresh redmine installation.</p>
</blockquote>
<p>Yes, I have installed todo list plugin. I forgot to mention it before.<br />But I do not know how to uninstall it. :(</p> Redmine - Defect #11053: Cannot delete issuehttps://www.redmine.org/issues/11053?journal_id=542672014-01-13T10:54:25ZDaniel Felix
<ul></ul><p>rake redmine:plugins:migrate NAME=redmine_todo VERSION=0 RAILS_ENV=...</p>
<p>The name is the pluginname itself and Rails_env refers to your environment.</p>
<p>After uninstalling you can remove the plugin from the /plugins folder.</p>
<p>You can still remove the plugin from the folder /plugins without the migrate task, this way you will hold all database changes in your database.</p>
<p>Btw. the issue described above can occur with a wrong apache configuration or with a wrong mod_rewrite condition. In this cases you can refer to your logs and see which route your last click used.</p> Redmine - Defect #11053: Cannot delete issuehttps://www.redmine.org/issues/11053?journal_id=542702014-01-13T13:00:31Zdean chen
<ul></ul><p>Thank you, after removing this plugin, this problem is sovled.</p>