You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2012/07/24 08:24:35 UTC

[jira] [Resolved] (WW-3414) XWorkList not Serializable

     [ https://issues.apache.org/jira/browse/WW-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart resolved WW-3414.
-------------------------------

    Resolution: Fixed

Removed ObjectFactory as a field and now ObjectFactory is retrieved from ActionContext, please test the latest snapshot.
                
> XWorkList not Serializable
> --------------------------
>
>                 Key: WW-3414
>                 URL: https://issues.apache.org/jira/browse/WW-3414
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.8.1
>         Environment: Windows XP
>            Reporter: johan jarkovic
>            Assignee: Lukasz Lenart
>            Priority: Blocker
>             Fix For: 2.3.5
>
>
> If action has a property of type ArrayList then an XWorkList object is created. 
> This is not serializable so we get NotSerializableException when we try to send this List to the business tier.
> The problem that I can see is that a new field of type XWorkConverter has been added to the XWorkList in struts version 2.1.x This field is not Serializable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira