struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "victorsosa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4608) Json result type breaks
Date Mon, 22 Feb 2016 12:30:18 GMT

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

victorsosa commented on WW-4608:
--------------------------------

Sorry, I don't think this is a bug to be fixed, because the serialization of any Object call
every method on it  so the properties can be serializable and in the case of a URL it call
the getContent which throw a java.io.IOException in that case. So there isn't anything wrong
with the code, it is working as expected.

I recommend you to change that variable to a String so it can be serializable.

> Json result type breaks 
> ------------------------
>
>                 Key: WW-4608
>                 URL: https://issues.apache.org/jira/browse/WW-4608
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.3.24
>            Reporter: lefebvre
>             Fix For: 2.3.x
>
>
> If the object to serialize contains an URL and the url not exist or cannot be accessed,
403 (https//wadvisor-r7.com) we get an ioexception



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message