[
https://issues.apache.org/jira/browse/WW-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347888#comment-15347888
]
Lukasz Lenart edited comment on WW-4650 at 6/24/16 7:16 AM:
------------------------------------------------------------
The case is that the {{Accept:application/json, text/plain, */*}} sets
{{accept}} to value {{application/json, text/plain, */*}} and this fails on
{{if ((accept != null) && accept.equalsIgnoreCase("application/json"))}}. So
I'm wondering it it makes sense to change this {{if}} to {{startWith}}?
was (Author: lukaszlenart):
The case is that the {{Accept:application/json, text/plain, */*}} sets
{{accept}} to value {{Accept:application/json, text/plain, */*}} and this fails
on {{if ((accept != null) && accept.equalsIgnoreCase("application/json"))}}. So
I'm wondering it it makes sense to change this {{if}} to {{startWith}}?
> Json deserialization does not work in 2.5.1
> -------------------------------------------
>
> Key: WW-4650
> URL: https://issues.apache.org/jira/browse/WW-4650
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - JSON
> Affects Versions: 2.5.1
> Reporter: Fred Ge
> Fix For: 2.5.2
>
>
> A json posted from Angular request is not deserialized anymore. It worked in
> 2.5.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)