[
https://issues.apache.org/jira/browse/SCB-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17622192#comment-17622192
]
liubao commented on SCB-2091:
-----------------------------
TestUpload -> testJarxUploadArray2 has test case
> Upload file array in Consumer RPC style causes IllegalStateException
> --------------------------------------------------------------------
>
> Key: SCB-2091
> URL: https://issues.apache.org/jira/browse/SCB-2091
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Java-Chassis
> Affects Versions: java-chassis-2.0.0, java-chassis-2.0.1,
> java-chassis-2.0.2, java-chassis-2.1.0, java-chassis-2.1.1
> Reporter: Haishi Yao
> Assignee: Haishi Yao
> Priority: Major
>
> On consumer side, if uploading code is in RPC style and a file array is
> uploaded, a IllegalStateException is triggered.
> The root cause is in the method:
> {code:java}
> org.apache.servicecomb.common.rest.codec.param.RestClientRequestImpl#attach
> {code}
> A return clause is missing on the logic branch that input param is an array.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)