[kforge-user] Bug: Delete project and create new with same short-name

Rufus Pollock rufus.pollock at okfn.org
Tue Oct 16 18:14:14 UTC 2007


Gunnar Johansson wrote:
> Hi,
> 
> We had problems with a user deleting a project and then creating a  
> new one with the same short-name.  It seems like it reactivates the  
> previously deleted project, but with no members assigned to it.  So  
> only the admin can go in and fix things.  Maybe KForge should also  
> check deleted projects for name conflicts?  For future tasks, is this  

Yes it should. A ticket has been created:

http://www.knowledgeforge.net/kforge/trac/ticket/58

> the correct way to delete and purge a project?
> 
>  >>> from kforge.soleInstance import application
>  >>> p = application.registry.projects['short-name']
>  >>> p.delete()
>  >>> p.purge()

Yes it is. I imagine might be useful to have a button that does this in 
the sysadmin section.

~rufus




More information about the kforge-user mailing list