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=17273>.
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=17273

Recycled instance of form bean returned even if invalid type

           Summary: Recycled instance of form bean returned even if invalid
                    type
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Within RequestUtils.createActionForm():
...
if (configClass.isAssignableFrom(instance.getClass())) {
    if (log.isDebugEnabled()) {
        log.debug(
            " Recycling existing ActionForm instance "
                + "of class '"
                + instance.getClass().getName()
                + "'");
        log.trace(" --> " action/+ instance);
    }
    return (instance);
}
return (instance);    // <-- This line should be removed, right?
...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to