jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marian Schedenig (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3416) IOManagerImpl does not release ImportContext
Date Wed, 22 Aug 2012 14:41:42 GMT
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


View raw message