Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2972

LazyValidatorForm cannot be saved in the session

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.5
    • 1.3.6
    • Core
    • None
    • N/A
    • Important

    Description

      This issue relates to the Struts Bugzilla entry "ASF Bugzilla Bug 35488".

      That fix makes it so that your forms can be resued if you use a POJO in a <form-bean> element that Strus will wrap in a BeanValidatorForm.

      However it is still broken in the following scenario. Use LazyValidatorForm (or a subclass thereof) in a <form-bean> element. Your form will never be reused (or saved?) because FormBeanConfig will compare LazyValidatorForm against LazyDynaBean and always fail.

      Attachments

        Activity

          People

            niallp Niall Pemberton
            javastu Stuart Goldberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: