You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Charcla (via GitHub)" <gi...@apache.org> on 2023/09/21 07:43:56 UTC
[GitHub] [dubbo] Charcla opened a new issue, #13095: dubbo cannot transfer Integer value to String value int the PojoUtils by gerneric
Charcla opened a new issue, #13095:
URL: https://github.com/apache/dubbo/issues/13095
### Environment
* Dubbo version: 2.7.18
* Operating System version: xxx
* Java version: 1.8
### Steps to reproduce this issue
1. I have a gateway to receive the outside http request ,in the gateway, I receive the Map req ,one of the value in the map is Integer
2. the gateway invoke provider by the generic invoke,but the provide pojo filed is String
3. In the PojoUtils,this tranfer will thowe aexception
java.lang.RuntimeException: Failed to set pojo ApplyLoanInfoOut property projectCategory value class java.lang.Integer, cause: argument type mismatch
4. but PojoUtils can transfer String to Integer By the CompatibleTypeUtils.java
5. so can support this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] AlbumenJ commented on issue #13095: dubbo cannot transfer Integer value to String value int the PojoUtils by gerneric
Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #13095:
URL: https://github.com/apache/dubbo/issues/13095#issuecomment-1735452802
As for a json, a number should not be a string
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] dubbo cannot transfer Integer value to String value int the PojoUtils by gerneric [dubbo]
Posted by "CrazyHZM (via GitHub)" <gi...@apache.org>.
CrazyHZM closed issue #13095: dubbo cannot transfer Integer value to String value int the PojoUtils by gerneric
URL: https://github.com/apache/dubbo/issues/13095
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] kimmking commented on issue #13095: dubbo cannot transfer Integer value to String value int the PojoUtils by gerneric
Posted by "kimmking (via GitHub)" <gi...@apache.org>.
kimmking commented on issue #13095:
URL: https://github.com/apache/dubbo/issues/13095#issuecomment-1739480495
can you make a test case?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org