You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "YaoHaishi (JIRA)" <ji...@apache.org> on 2018/05/14 14:48:00 UTC

[jira] [Updated] (SCB-580) When upload file size exceeds limitation of provider, consumer will return a confusing response

     [ https://issues.apache.org/jira/browse/SCB-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YaoHaishi updated SCB-580:
--------------------------
    Description: 
Test based on 1.0.0.B009

Let user upload file to consumer, and then consumer upload file to provider. If the file size is under the limitation of consumer but exceeds the limitation of provider, the provider will throw a NullPointerException, but the consumer will response "method POST, path /upload/multipartFileUpload/, statusCode 500, reasonPhrase Internal Server Error, response content-type null is not supported".(In the log of consumer, no error is printed)
 privider log:
 !providerExceptionLog.PNG! 
 consumer response:
 !consumerResponse.PNG!

  was:
Let user upload file to consumer, and then consumer upload file to provider. If the file size is under the limitation of consumer but exceeds the limitation of provider, the provider will throw a NullPointerException, but the consumer will response "method POST, path /upload/multipartFileUpload/, statusCode 500, reasonPhrase Internal Server Error, response content-type null is not supported".(In the log of consumer, no error is printed)
privider log:
 !providerExceptionLog.PNG! 
consumer response:
 !consumerResponse.PNG! 


> When upload file size exceeds limitation of provider, consumer will return a confusing response
> -----------------------------------------------------------------------------------------------
>
>                 Key: SCB-580
>                 URL: https://issues.apache.org/jira/browse/SCB-580
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>            Reporter: YaoHaishi
>            Assignee: YaoHaishi
>            Priority: Major
>         Attachments: consumerResponse.PNG, providerExceptionLog.PNG
>
>
> Test based on 1.0.0.B009
> Let user upload file to consumer, and then consumer upload file to provider. If the file size is under the limitation of consumer but exceeds the limitation of provider, the provider will throw a NullPointerException, but the consumer will response "method POST, path /upload/multipartFileUpload/, statusCode 500, reasonPhrase Internal Server Error, response content-type null is not supported".(In the log of consumer, no error is printed)
>  privider log:
>  !providerExceptionLog.PNG! 
>  consumer response:
>  !consumerResponse.PNG!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)