Folder gets copied based on current folder instead of empty

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Environment:

      Summary
      The Copy-From input field available via "New Item" interprets an empty field as the root of the current folder it's located in, and attempts to copy everything from there.

      Steps to Reproduce
      1. Open the "New Item" dialog
      2. Enter an arbitrary name
      3. Select the type "Folder"
      4. Attempt to enter a template (random folder) for the Copy-From input field.
      5. Delete the entered text, leaving the field empty.

      Expected Results
      The newly created folder should be empty.

      Actual Results
      The (seemingly) empty field is interpreted as the root of the current folder it's located in, and attempts to copy everything from there. Only if the Copy-From is left untouched, it behaves as expected.

      The copy is recursive and even includes any empty version of the folder the user wants to create (in this moment).

      See also the attached before and after screenshot of the duplication.

      In our case, this caused an unexpected recursive folder duplication that was big enough to bring down the whole Jenkins instance (due to the copy/rescan of multiple 100s branches / projects).

        1. jenkins_after_copy.PNG
          91 kB
          Marian Degel
        2. jenkins_before_copy.PNG
          92 kB
          Marian Degel

            Assignee:
            Unassigned
            Reporter:
            Marian Degel
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: