struts-issues mailing list archives

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


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 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:
>             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// we get an ioexception

This message was sent by Atlassian JIRA

View raw message