You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/12/22 10:28:31 UTC
[jira] [Commented] (WW-3414) XWorkList not Serializable
[ https://issues.apache.org/jira/browse/WW-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174715#comment-13174715 ]
Hudson commented on WW-3414:
----------------------------
Integrated in Struts2 #393 (See [https://builds.apache.org/job/Struts2/393/])
WW-3414 add JavaDoc comments about new API
WW-3414 removes not serializable field from XWorkList and uses Object Factory to obtain instance o XWorkBasicConverter
lukaszlenart :
Files :
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/ObjectFactory.java
lukaszlenart :
Files :
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/ObjectFactory.java
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/conversion/impl/XWorkBasicConverter.java
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/util/XWorkList.java
* /struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/util/XWorkListTest.java
> 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.2
>
>
> 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