Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-84

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.1.0 (alpha)
    • None
    • None
    • Operating System: All
      Platform: All

    • 14591

    Description

      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 {

      Attachments

        Activity

          People

            Unassigned Unassigned
            pierre.chardin@axa.com Pierre Chardin
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: