You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/11/15 14:54:50 UTC

DO NOT REPLY [Bug 14591] New: - Serialization problem with org.apache.commons.validator.ValidatorResult$ResultStatus

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14591>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14591

Serialization problem with org.apache.commons.validator.ValidatorResult$ResultStatus

           Summary: Serialization problem with
                    org.apache.commons.validator.ValidatorResult$ResultStatu
                    s
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: pierre.chardin@axa.com


org.apache.struts.validator.DynaValidatorForm serialisation fails because 
class org.apache.commons.validator.ValidatorResult$ResultStatus does not 
implement interface Serializable.

This is not consistent with other classes of Validator or Struts, so I believe 
it's a bug.

The correction consists in modifying file ValidatorResult.java at line 132 and 
replacing code:
protected class ResultStatus {
by:
protected class ResultStatus implements Serializable {

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>