[ 
https://issues.apache.org/jira/browse/FELIX-6649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762516#comment-17762516
 ] 

Rakesh Kumar commented on FELIX-6649:
-------------------------------------

*getSubmittedFileName()* method was added in servlet api v3.1
{code:java}
/**
 * If this part represents an uploaded file, gets the file name submitted
 * in the upload. Returns {@code null} if no file name is available or if
 * this part is not a file upload.
 *
 * @return the submitted file name or {@code null}.
 *
 * @since Servlet 3.1
 */
public String getSubmittedFileName(); {code}
so we also need to update the dependency version in pom, currently it is using 
*3.0.1*

> BundlesServlet replaces the previous bundle
> -------------------------------------------
>
>                 Key: FELIX-6649
>                 URL: https://issues.apache.org/jira/browse/FELIX-6649
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.9.2
>            Reporter: Rakesh Kumar
>            Priority: Major
>
> I just noticed that the BundlesServlet is not working as expected, when I 
> install any bundle from WebConsole then it just replaces the last installed 
> bundle.
> This seems to be caused by the bundlelocation which resolved to be same for 
> all the bundles installed from WebConsole.
> This is the bundlelocation for all the bundles.
> {code:java}
> inputstream:bundlefile{code}
> since this remains same for all the bundles and causes the bundle update.
>  
> In version 4.8.12 the bundlelocation was something like this
> {code:java}
> inputstream:adeptj-modules-examples-mybatis-1.0.0.jar{code}
> which is the file name itself, and that's why the install/update worked 
> properly.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to