You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by 凝雨 <ni...@163.com> on 2018/09/13 08:42:47 UTC
PojoUtil realize type convert not support subclasses of
'java.util.date'
Hi Community, When I call dubbo rpc with 'jmeter-plugin-dubbo', the parameter type that it passes through the generalization call is HashMap, but there is a Date string in the HashMap, the type accepted by the server is PO, and there is a date type attribute in the PO. an error occurs when the attribute type is java.sql.timestamp|Time|Date. This is a bug. I have fixed it in this pr: https://github.com/apache/incubator-dubbo/pull/2500 issue: https://github.com/apache/incubator-dubbo/issues/2499
Best regards,
ningyu
Re:Re: PojoUtil realize type convert not support subclasses of
'java.util.date'
Posted by 凝雨 <ni...@163.com>.
Has been merge.
done.
在 2018-09-13 23:55:31,"Ian Luo" <ia...@gmail.com> 写道:
>I went through the PR briefly. It looks good.
>
>On Thu, Sep 13, 2018 at 6:52 PM 凝雨 <ni...@163.com> wrote:
>
>> merge to 2.6.x PR: https://github.com/apache/incubator-dubbo/pull/2502
>>
>>
>>
>>
>>
>>
>>
>>
>> 在 2018-09-13 17:04:53,"Jerrick Zhu" <je...@apache.org> 写道:
>> >cool. I will take a look at it.
>> >
>> >On Thu, Sep 13, 2018 at 4:43 PM 凝雨 <ni...@163.com> wrote:
>> >
>> >> Hi Community, When I call dubbo rpc with 'jmeter-plugin-dubbo', the
>> >> parameter type that it passes through the generalization call is
>> HashMap,
>> >> but there is a Date string in the HashMap, the type accepted by the
>> server
>> >> is PO, and there is a date type attribute in the PO. an error occurs
>> when
>> >> the attribute type is java.sql.timestamp|Time|Date. This is a bug. I
>> >> have fixed it in this pr:
>> >> https://github.com/apache/incubator-dubbo/pull/2500 issue:
>> >> https://github.com/apache/incubator-dubbo/issues/2499
>> >>
>> >>
>> >>
>> >> Best regards,
>> >> ningyu
>>
Re: PojoUtil realize type convert not support subclasses of 'java.util.date'
Posted by Ian Luo <ia...@gmail.com>.
I went through the PR briefly. It looks good.
On Thu, Sep 13, 2018 at 6:52 PM 凝雨 <ni...@163.com> wrote:
> merge to 2.6.x PR: https://github.com/apache/incubator-dubbo/pull/2502
>
>
>
>
>
>
>
>
> 在 2018-09-13 17:04:53,"Jerrick Zhu" <je...@apache.org> 写道:
> >cool. I will take a look at it.
> >
> >On Thu, Sep 13, 2018 at 4:43 PM 凝雨 <ni...@163.com> wrote:
> >
> >> Hi Community, When I call dubbo rpc with 'jmeter-plugin-dubbo', the
> >> parameter type that it passes through the generalization call is
> HashMap,
> >> but there is a Date string in the HashMap, the type accepted by the
> server
> >> is PO, and there is a date type attribute in the PO. an error occurs
> when
> >> the attribute type is java.sql.timestamp|Time|Date. This is a bug. I
> >> have fixed it in this pr:
> >> https://github.com/apache/incubator-dubbo/pull/2500 issue:
> >> https://github.com/apache/incubator-dubbo/issues/2499
> >>
> >>
> >>
> >> Best regards,
> >> ningyu
>
Re: PojoUtil realize type convert not support subclasses of
'java.util.date'
Posted by 凝雨 <ni...@163.com>.
merge to 2.6.x PR: https://github.com/apache/incubator-dubbo/pull/2502
在 2018-09-13 17:04:53,"Jerrick Zhu" <je...@apache.org> 写道:
>cool. I will take a look at it.
>
>On Thu, Sep 13, 2018 at 4:43 PM 凝雨 <ni...@163.com> wrote:
>
>> Hi Community, When I call dubbo rpc with 'jmeter-plugin-dubbo', the
>> parameter type that it passes through the generalization call is HashMap,
>> but there is a Date string in the HashMap, the type accepted by the server
>> is PO, and there is a date type attribute in the PO. an error occurs when
>> the attribute type is java.sql.timestamp|Time|Date. This is a bug. I
>> have fixed it in this pr:
>> https://github.com/apache/incubator-dubbo/pull/2500 issue:
>> https://github.com/apache/incubator-dubbo/issues/2499
>>
>>
>>
>> Best regards,
>> ningyu
Re: PojoUtil realize type convert not support subclasses of 'java.util.date'
Posted by Jerrick Zhu <je...@apache.org>.
cool. I will take a look at it.
On Thu, Sep 13, 2018 at 4:43 PM 凝雨 <ni...@163.com> wrote:
> Hi Community, When I call dubbo rpc with 'jmeter-plugin-dubbo', the
> parameter type that it passes through the generalization call is HashMap,
> but there is a Date string in the HashMap, the type accepted by the server
> is PO, and there is a date type attribute in the PO. an error occurs when
> the attribute type is java.sql.timestamp|Time|Date. This is a bug. I
> have fixed it in this pr:
> https://github.com/apache/incubator-dubbo/pull/2500 issue:
> https://github.com/apache/incubator-dubbo/issues/2499
>
>
>
> Best regards,
> ningyu