Project

General

Profile

Unable to delete track

Added by Guy Barnhart-Magen almost 13 years ago

Hi,

I am trying to delete a track and recieve the following Error: "This tracker contains issues and can't be deleted"
i understand that is has some issues that i need to delete first, how can i do this?
as far as i can tell that issue is not accessible from the web gui at all.

can i somhow delete the issues directly from the database?

About your application's environment
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.7
Rack version 1.1
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /usr/share/redmine
Environment production
Database adapter mysql
Database schema version 20101114115359

About your Redmine plugins
Redmine Local Avatars plugin 0.1.1

OS: ubuntu 10.10
Linux 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC 2011 i686 GNU/Linux

rails --version
Rails 2.3.5


Replies (5)

RE: Unable to delete track - Added by Felix Schäfer almost 13 years ago

Go to the global issue list and filter according to that tracker and show all issues, not just closed ones.

RE: Unable to delete track - Added by Guy Barnhart-Magen almost 13 years ago

It doesn't list any issues related to that tracker "No data to display"

RE: Unable to delete track - Added by Felix Schäfer almost 13 years ago

Make sure you are on the global issue list, not the list for just one project, and make sure to show all issues, not just the ones with an open status, and make sure you do all this as administrator.

Other than looking at your DB data (which for obvious data protection reasons I don't even want…), I don't know what I could tell you more.

If you are proficient with SQL and your DB, look in the trackers table what id the tracker you are trying to delete has, and have a look at the tracker_id column in the issues table, I think you will find at least one corresponding issue there.

RE: Unable to delete track - Added by Guy Barnhart-Magen almost 13 years ago

Thanks,

i was able to solve this with direct DB handling

RE: Unable to delete track - Added by Felix Schäfer almost 13 years ago

Guy Barnhart-Magen wrote:

i was able to solve this with direct DB handling

That's not what I meant, you should have taken the issue IDs and visited the issues in Redmine. You now probably have orphaned data.

    (1-5/5)