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

Andreas Andreou resolved TAPESTRY-1761.
---------------------------------------

    Resolution: Fixed
      Assignee: Andreas Andreou

thx

> TreeDataView's initialze() is not called
> ----------------------------------------
>
>                 Key: TAPESTRY-1761
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1761
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 4.1, 4.1.1, 4.1.2, 4.1.3
>            Reporter: Jacob Poder Kristensen
>            Assignee: Andreas Andreou
>             Fix For: 4.1.6
>
>
> The TreeDataView has a method "public void initialize()" for resetting 
> private members, but it seems it is not called when the component is returned 
> to the pool.
> This causes a memory leak as m_objTreeRowObject can hold a reference to a 
> TreeRowObject Object and thus to an entire tree structure.
> I propose that the component implement the PageDetachListener interface and 
> calls initialize:
>     public void pageDetached(PageEvent event) {
>         initialize();
>     }
> Thank you

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


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

Reply via email to