[ http://issues.apache.org/jira/browse/COCOON-1796?page=all ]

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

    Fix Version: 2.1.9-dev (current SVN)

> 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
>      Fix For: 2.1.9-dev (current SVN)
>  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

Reply via email to