Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-15777

Artifacts with spaces are not accessible by UI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.9.4
    • 5.9, 5.8.1, 5.8.2, 5.9.1
    • Artifacts

    Description

      Replicate issue

      1. Please, create a Project / Plan with the following Script tasks:
        DIRECTORY="ABCDEFGHIJKLMNOPQRSTUXVXYZ"
        
        if [ ! -d "$DIRECTORY" ]; then
            mkdir -p "$DIRECTORY/$DIRECTORY"
            
            echo "foo" > "$DIRECTORY/$DIRECTORY/$DIRECTORY.log"
        fi
        
      2. Please, create the following artifatc definition:
        Name: A
        Copy pattern: ABCDEFGHIJKLMNOPQRSTUXVXYZ/**
        
      3. run your build and you will be able to view the artifact generated under "A/ABCDEFGHIJKLMNOPQRSTUXVXYZ/ABCDEFGHIJKLMNOPQRSTUXVXYZ/ABCDEFGHIJKLMNOPQRSTUXVXYZ.log"

      However, when you set up as per following you are no longer able to navigate to the "ABCDE FGHIJ.log" generated unless you fix the URL manually.

      1. Please, create a Project / Plan with the following Script tasks:
        DIRECTORY="ABCDE FGHIJ"
        
        if [ ! -d "$DIRECTORY" ]; then
            mkdir -p "$DIRECTORY/$DIRECTORY"
            
            echo "foo" > "$DIRECTORY/$DIRECTORY/$DIRECTORY.log"
        fi
        
      2. Please, create the following artifatc definition:
        Name: A
        Copy pattern: ABCDE FGHIJ/**
        

      Attachments

        1. correct.png
          correct.png
          44 kB
        2. wrong.png
          wrong.png
          44 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rsperafico Rafael Sperafico (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: