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

ASF GitHub Bot commented on SCB-669:
------------------------------------

coveralls commented on issue #768: [SCB-669] add extra hashcode into 
CtTypeJavaType to avoid deserialization problem
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/768#issuecomment-397180033
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/17484541/badge)](https://coveralls.io/builds/17484541)
   
   Coverage decreased (-0.01%) to 87.349% when pulling 
**a358ac073d65351eb44689ed1eee2d67db5dab09 on 
yhs0092:fix_list_response_body_deserialization_problem** into 
**b81196f6eedf220dfb87b77b3a548cd201a7f3ac on apache:master**.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Fix List response body deserialization problem
> ----------------------------------------------
>
>                 Key: SCB-669
>                 URL: https://issues.apache.org/jira/browse/SCB-669
>             Project: Apache ServiceComb
>          Issue Type: Bug
>            Reporter: YaoHaishi
>            Assignee: YaoHaishi
>            Priority: Major
>             Fix For: service-center-1.0.0-m2
>
>         Attachments: invokeProviderDirectly.jpg, invokeViaEdgeService.jpg
>
>
> When a provider has a rest operation whose response is List<Pack>, and the 
> type Pack is like below
> {code:java}
> public class Pack{
>   private String name;
>   private int i;
>   // PackageProp is a type defined by user, and it only contains simple java 
> type
>   private List<PackageProp> packagePropList;
> }
> public class PackageProp{
>   private String name;
>   private int j;
>   private String prop;
> }
> {code}
> We can use postman to invoke the rest operation directly and it works well. 
> But if we invoke this operation via EdgeService, the response body will be 
> deserialized in edge unproperly. The edge treat the response List<Pack> as 
> List<PackageProp>.



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

Reply via email to