This is an automated email from the ASF dual-hosted git repository. cziegeler pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/felix-dev.git
commit 4966622ee44c14a175bf77e32a4c26ff5f964b1b Author: Carsten Ziegeler <cziege...@apache.org> AuthorDate: Thu Sep 7 07:02:12 2023 +0200 FELIX-6649 : BundlesServlet replaces the previous bundle --- .../org/apache/felix/webconsole/internal/core/BundlesServlet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java index e30c874de2..f330899e4a 100644 --- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java +++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java @@ -1506,7 +1506,7 @@ public class BundlesServlet extends AbstractOsgiManagerPlugin implements Invento IOUtils.copy(bundleStream, out); } } catch ( final Exception e ) { - log( LogService.LOG_ERROR, "Problem accessing uploaded bundle file: " + part.getName(), e ); + log( LogService.LOG_ERROR, "Problem accessing uploaded bundle file: " + part.getSubmittedFileName(), e ); // remove the tmporary file if ( tmpFile != null && tmpFile.exists()) { @@ -1522,7 +1522,7 @@ public class BundlesServlet extends AbstractOsgiManagerPlugin implements Invento final boolean refreshPackages = refreshPackagesItem != null; final boolean parallelVersion = parallelVersionItem != null; - bundleLocation = "inputstream:".concat(part.getName()); + bundleLocation = "inputstream:".concat(part.getSubmittedFileName()); installBundle( bundleLocation, tmpFile, startLevel, start, refreshPackages, parallelVersion, uploadId); } }