You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2008/02/08 19:49:07 UTC

[jira] Resolved: (TAPESTRY-1761) TreeDataView's initialze() is not called

     [ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org