You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/04/02 10:27:44 UTC

DO NOT REPLY [Bug 7460] - Treebuilder: reloading sitemap does not dispose old sitemap components

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7460>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7460

Treebuilder: reloading sitemap does not dispose old sitemap components

volker.schmitt@basf-it-services.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From volker.schmitt@basf-it-services.com  2002-04-02 08:27 -------
the problem still remain. It seams that there is a additional problem in
org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.recycle()

public void recycle() {
        this.lifecycle = null; // Created in build()
        this.initializableNodes.clear();
        this.disposableNodes.clear();
        this.linkedBuilders.clear();
        this.canGetNode = false;
        this.registeredNodes.clear();
}

this.disposableNodes.clear();
should be changed to
this.disposableNodes = new ArrayList();
instead the disposableNodes are allways empty in TreeProcessor.disposeTree()

I would also add the following 3 lines to the recycle method:
this.processor = null;
this.manager = null;
this.roleManager = null;

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org