Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-23328

Matrix Parameters List Folders and Subfolders Even If The Propery Values Do Not Match

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 6.21.0, 7.7.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Severity:
      High

      Description

      Matrix Parameters List Folders and Subfolders Even If The Propery Values Do Not Match

      Affected versions 6.20.x & 7.7.x

      Steps to reproduce:

       

      1. Create local Maven repo called: bug-demo-repo
      2. Upload 3 jar files with the following GAV folders as shown below:

       

       

      4. Add the property bugParam=False recursively for file 1 folders and files, as shown above.

      5. Add the property bugParam=True recursively for file 3 folders and files, as shown above.

      6. Open a new browser tab, and type: http://localhost:8081/artifactory/bug-demo-repo;bugParam=False/com/

       

      7. As you can see the matrix parameter we used in the URL contains the following property  bugParam=False, however, the page still lists "file3" folder which has a bugParam=True property:

       

      8. Yes, if we click on folder "file3"  we will notice that the file "file3" is not listed, which is expected, however, we also should expect the folder file3 not be listed either, and not only the file "file3".:

       

      Some users use matrix parameters in their Gradle Build against some packages that have several versions. Some versions of the package have different property values, and if all of them get listed even if the property does not match then the use of the Matrix parameter defeats its purpose.

       

       

       

        Attachments

        1. 1.jpg
          1.jpg
          138 kB
        2. 2.jpg
          2.jpg
          93 kB
        3. 3.jpg
          3.jpg
          71 kB

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              timt Tim Telman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-23328 -
                  SYNCHRONIZED
                  • Last Sync Date: