Bug 693609

Summary: Cannot delete mistakely created project
Product: [Retired] Zanata Reporter: Kenichi Takemura <ktakemur>
Component: Component-UIAssignee: Runa Bhattacharjee <runab>
Status: CLOSED NEXTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3-alpha-1CC: ankit, ebaak, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
See Also: http://code.google.com/p/flies/issues/detail?id=217
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-10 05:04:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kenichi Takemura 2011-04-05 04:52:51 UTC
Description of problem:

Is there any way to delete existing project?
    
Version-Release number of selected component (if applicable):

1.3-plpha-1
    
How reproducible:

Always
    
Steps to Reproduce:

1. Login Zanata using admin account.
2. Click menu Project and click Create project
3. Complete creating a new project
    
Actual results:

Cannot delete the project
    
Expected results:

Admin can delete projects.
    
Additional info:

No.

Comment 1 Sean Flanigan 2011-04-05 06:30:02 UTC
Not supported at present, sorry.  See http://code.google.com/p/flies/issues/detail?id=217

Comment 2 Kenichi Takemura 2011-05-03 05:44:13 UTC
Hi 

Can you provide me with how to delete project from zanata database? I need to delete some projects that cause errors to proceed with more testing.

Comment 3 Sean Flanigan 2011-05-05 02:31:05 UTC
Projects are stored in the table HProject, but the database constraints make it quite difficult to eradicate a project.  If you haven't added any versions or data to the project, you could try deleting the project from HProject, but you'll have to delete corresponding rows from HProject_Maintainer as well.

Otherwise your only option at present is to wipe the database and start again.

Comment 4 Kenichi Takemura 2011-05-05 05:27:30 UTC
ok thanks.

Comment 5 Sean Flanigan 2011-09-07 04:33:21 UTC
Assigning to Scrum product owner for prioritisation.

Comment 6 Sean Flanigan 2012-02-10 05:04:49 UTC
Should be covered by the obsolete project feature in Zanata 1.5.