Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
ProGet: Unable to create new Asset folder with same name as deleted folder
-
Hi,
A few of our users have reported that they are unable to create Asset folders with the same name as a recently-deleted folder:-
I had to clear out a Proget asset folder so I deleted it and then I tried to add it back both through the UI and the API. It says it’s created successfully but not showing up. Can you please assist?
-
I created a folder ‘astest’, deleted it successfully earlier. However, now if I try to recreate the folder ‘astest’ it does nothing, no error no nothing.
It feels like a proget issue where it remembers old folders for some reason.
I suppose you could alternatively name this "unable to re-create an Asset folder".
The devs have been working around the issue by using varied names, but it might become more of an issue if we have to automate it.
Is this expected behavior? We are on
Version 6.0.18 (Build 2-proget6)
Thanks!
-
-
Hi @mcascone ,
This is a bug, thanks for the report!
ProGet "soft deletes" items, but it seems when you go to recreate a directory it's not set to "not deleted". We'll get this fixed in the upcoming maintenance release of ProGet 2022.4, scheduled for August 12: PG-2173 FIX: Deleted asset directory items cannot be created
Cheers,
Alana
-
Thanks Alana, I continue to be impressed with your and Inedo's responses to these issues!
We are not on v2022 yet, we are on the latest v6 as of a few weeks ago, but now we have a real reason to do it!
Thanks again!
Max
-
Hi Alana, when you deploy a fix for this will you also be able to delete all directories which are currently soft-deleted?
Thanks.
-
Hi @bushman_3007,
Can you clarify the request some more, i.e. why are you wanting to delete soft-deleted directories?
I don't know the reason directories are soft deleted, but I suspect it has to do with preserving versioning history.
Thanks,
Alana