You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marian Schedenig (JIRA)" <ji...@apache.org> on 2012/08/22 16:41:42 UTC

[jira] [Created] (JCR-3416) IOManagerImpl does not release ImportContext

Marian Schedenig created JCR-3416:
-------------------------------------

             Summary: IOManagerImpl does not release ImportContext
                 Key: JCR-3416
                 URL: https://issues.apache.org/jira/browse/JCR-3416
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.4.2
            Reporter: Marian Schedenig


IOManagerImpl#importContent() iterates through all IOHandlers and calls context.informCompleted() afterwards. However, informCompleted() is NOT called if an IOHandler throws an IOException (which may happen in importContent()). The result is a leaked temp file, as the import context only deletes its temp file when informCompleted() is called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira