[
https://issues.apache.org/jira/browse/STR-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoni Reus updated STR-1729:
-----------------------------
Comment: was deleted
(was: 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: https://issues.apache.org/jira/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.
-
You can reply to this email to add a comment to the issue online.