cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freek Segers (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-1796) TraversableGenerator calls resloveURI() twice but release() only once
Date Thu, 09 Mar 2006 12:24:03 GMT
TraversableGenerator calls resloveURI() twice but release() only once
---------------------------------------------------------------------

         Key: COCOON-1796
         URL: http://issues.apache.org/jira/browse/COCOON-1796
     Project: Cocoon
        Type: Bug
  Components: * Cocoon Core  
    Versions: 2.1.8, 2.1.9-dev (current SVN)    
    Reporter: Freek Segers
    Priority: Minor
 Attachments: Cocoon_TraversableGenerator_patch.txt

The TraversableGenerator first calls resolver.resolveURI() to get a Source and check whether
it is a TraversableSource. If this is true, it call resolver.resolveURI() again and assigns
the result to a TraversableSource, which is never released.
The included patch modifies the behaviour so the second call the resolver.resolveURI() is
replaced with a cast to TraversableSource on the Source that was retrieved earlier.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message