You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/05/24 19:06:05 UTC

[jira] Resolved: (WW-2462) Action - component: start(Writer) is called twice

     [ https://issues.apache.org/struts/browse/WW-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2462.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.3

> Action - component: start(Writer) is called twice
> -------------------------------------------------
>
>                 Key: WW-2462
>                 URL: https://issues.apache.org/struts/browse/WW-2462
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Ralf Fischer
>             Fix For: 2.1.3
>
>
> After initializing the component bean and injecting some stuff into it, the doStartTag in ComponentTagSupport calls populateParams(). As last call in ActionTag#populateParams(), line 57, the start(Writer)-Method is called on the component(Action, in this case). 
> After that, back in ComponentTagSupport, line 54, start(Writer) is invoked again. 
> Suggested fix: Remove call to start(Writer from ActionTag#populateParams(), line 57. 
> Cheers,
> -Ralf

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.