bugnet icon indicating copy to clipboard operation
bugnet copied to clipboard

Deleting a user account or a project results in Uploads folder being deleted.

Open AlexeyPotapov opened this issue 10 years ago • 2 comments

We have BugNet Version 1.6.329.0 with few projects where attachments are stored in file system for all of them. I created a new user and spelled the login name wrong so decided to delete it straightaway. Deleting that user also deleted the Uploads folder with all its content. I later tested it with projects - creating a new project and immediately deleting it - Uploads folder was also deleted.

AlexeyPotapov avatar May 13 '15 17:05 AlexeyPotapov

I don't see any sort of cascade delete setup for users but I will try it and see. It is by design that when deleting a project is also deletes the attachments but it would only delete the project folder itself not the whole uploads folder.

dubeaud avatar May 18 '15 19:05 dubeaud

If it is of any help, the DB and the Uploads folder were migrated through a good few versions of bugnet over recent years, starting at 0.8 if I'm not mistaken. It was always an updrade, never a clean installation. Not sure how the web.config file was updated, but I guess it was done as prescribed in the manual/forum.

AlexeyPotapov avatar May 18 '15 19:05 AlexeyPotapov