Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    proget assetprogetasset
    5 Posts 3 Posters 12 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MaxCasconeM Offline
      MaxCascone
      last edited by MaxCascone

      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:

      1. 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?

      2. 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!

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @MaxCascone
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • MaxCasconeM Offline
          MaxCascone
          last edited by

          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

          1 Reply Last reply Reply Quote 1
          • B Offline
            bushman_3007
            last edited by

            Hi Alana, when you deploy a fix for this will you also be able to delete all directories which are currently soft-deleted?

            Thanks.

            atrippA 1 Reply Last reply Reply Quote 0
            • atrippA Offline
              atripp inedo-engineer @bushman_3007
              last edited by

              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

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation