[ http://issues.apache.org/struts/browse/STR-1729?page=comments#action_38864 ] Antoni Reus commented on STR-1729: ----------------------------------
Sorry for last three comments: I moved from my previous work at IBIT two weeks ago, and I've got an "autoreply" message on [EMAIL PROTECTED] As soon as I realized I changed the email address on my JIRA profile. > DynaActionForm properties get initialized twice. > ------------------------------------------------ > > Key: STR-1729 > URL: http://issues.apache.org/struts/browse/STR-1729 > Project: Struts 1 > Issue Type: Improvement > Components: Core > Affects Versions: Nightly Build > Environment: Operating System: other > Platform: Other > Reporter: Antoni Reus > Priority: Minor > Fix For: Future > > > To create a DynaActionForm i RequestUtils.createActionForm it does: > <snip> > DynaActionFormClass dynaClass = > DynaActionFormClass.createDynaActionFormClass(config); > instance = (ActionForm) dynaClass.newInstance(); > ((DynaActionForm) instance).initialize(mapping); > </snip> > dynaClass.newInstance() creates an instance of DynaActionForm and sets its > initial properties, after that DynaActionForm.initizalize(mapping) sets the > initial properties again!. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
