From 7216c11ff3440beb1c9fd732afb7b3d8df830bcd Mon Sep 17 00:00:00 2001 From: Chalapala RaghavendraReddy Date: Tue, 10 Dec 2024 11:23:33 +0530 Subject: [PATCH 1/2] Bug fix for Maven --- src/ArtifactoryUploader/PackageUploadHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ArtifactoryUploader/PackageUploadHelper.cs b/src/ArtifactoryUploader/PackageUploadHelper.cs index 0a36f2fd..c3856539 100644 --- a/src/ArtifactoryUploader/PackageUploadHelper.cs +++ b/src/ArtifactoryUploader/PackageUploadHelper.cs @@ -573,12 +573,12 @@ string GetPropertyValue(string propertyName) => else if (GetPropertyValue(Dataconstant.Cdx_ProjectType) == "MAVEN") { ComponentsToArtifactory components = await GetUnknownPackageinfo(item); - displayPackagesInfo.UnknownPackagesPython.Add(components); + displayPackagesInfo.UnknownPackagesMaven.Add(components); } else if (GetPropertyValue(Dataconstant.Cdx_ProjectType) == "PYTHON") { ComponentsToArtifactory components = await GetUnknownPackageinfo(item); - displayPackagesInfo.UnknownPackagesMaven.Add(components); + displayPackagesInfo.UnknownPackagesPython.Add(components); } else if (GetPropertyValue(Dataconstant.Cdx_ProjectType) == "CONAN") { From f620c1e7ccd013d0aa58f8ee87878d70d6644f54 Mon Sep 17 00:00:00 2001 From: Chalapala RaghavendraReddy Date: Wed, 11 Dec 2024 11:37:48 +0530 Subject: [PATCH 2/2] Display uploaded data issue --- src/ArtifactoryUploader/PackageUploadHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArtifactoryUploader/PackageUploadHelper.cs b/src/ArtifactoryUploader/PackageUploadHelper.cs index c3856539..4c359e54 100644 --- a/src/ArtifactoryUploader/PackageUploadHelper.cs +++ b/src/ArtifactoryUploader/PackageUploadHelper.cs @@ -685,7 +685,7 @@ private static async Task SucessfullPackagesAsync(ComponentsToArtifactory item, else if (item.ComponentType == "PYTHON") { ComponentsToArtifactory components = await GetSucessFulPackageinfo(item); - displayPackagesInfo.UnknownPackagesPython.Add(components); + displayPackagesInfo.SuccessfullPackagesPython.Add(components); } else if (item.ComponentType == "CONAN") {