cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1796) TraversableGenerator calls resolveURI() twice but release() only once
Date Fri, 10 Mar 2006 05:48:39 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1796?page=all ]

Antonio Gallardo updated COCOON-1796:
-------------------------------------

    Summary: TraversableGenerator calls resolveURI() twice but release() only once  (was:
TraversableGenerator calls resloveURI() twice but release() only once)

> TraversableGenerator calls resolveURI() 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
>     Assignee: Antonio Gallardo
>     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