[jira] [Commented] (VFS-752) AbstractFileProvider close should close all fileSystems before clearing the cache

2020-01-08 Thread Harald Kuhn (Jira)


[ 
https://issues.apache.org/jira/browse/VFS-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17010563#comment-17010563
 ] 

Harald Kuhn commented on VFS-752:
-

A possible fix would be to call closeFileSystem for every FileSystem in the 
cache inside the close method.

> AbstractFileProvider close should close all fileSystems before clearing the 
> cache
> -
>
> Key: VFS-752
> URL: https://issues.apache.org/jira/browse/VFS-752
> Project: Commons VFS
>  Issue Type: Bug
>Affects Versions: 2.5.0
>Reporter: Harald Kuhn
>Priority: Major
>
> The close method of AbstractFileProvider currently only clears the cache of 
> FileSystem references without closing them first. This can cause open 
> connections (e.g. with the SFTPProvider) if each FileSystem  is not 
> explicitly closed via closeFileSystem. This is a bit error prone.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (VFS-752) AbstractFileProvider close should close all fileSystems before clearing the cache

2020-01-08 Thread Harald Kuhn (Jira)
Harald Kuhn created VFS-752:
---

 Summary: AbstractFileProvider close should close all fileSystems 
before clearing the cache
 Key: VFS-752
 URL: https://issues.apache.org/jira/browse/VFS-752
 Project: Commons VFS
  Issue Type: Bug
Affects Versions: 2.5.0
Reporter: Harald Kuhn


The close method of AbstractFileProvider currently only clears the cache of 
FileSystem references without closing them first. This can cause open 
connections (e.g. with the SFTPProvider) if each FileSystem  is not explicitly 
closed via closeFileSystem. This is a bit error prone.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (COMPRESS-188) Improved Exceptionhandling for unsupported zip compression methods

2012-07-08 Thread Harald Kuhn (JIRA)

 [ 
https://issues.apache.org/jira/browse/COMPRESS-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harald Kuhn updated COMPRESS-188:
-

Attachment: ZipMethod.java

Variant of ZipMethod as enum

 Improved Exceptionhandling for unsupported zip compression methods
 --

 Key: COMPRESS-188
 URL: https://issues.apache.org/jira/browse/COMPRESS-188
 Project: Commons Compress
  Issue Type: Improvement
  Components: Compressors
Affects Versions: 1.4.1
Reporter: Harald Kuhn
Priority: Minor
 Attachments: UnsupportedZipFeatureException.java.patch, ZipMethod.java


 If an unsupported zip compression methods, the created exception is not very 
 helpfull for analysing why a zip archive could not be opend. Giving a name or 
 description of the method can be very helpful.

--
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




[jira] [Created] (COMPRESS-188) Improved Exceptionhandling for unsupported zip compression methods

2012-06-23 Thread Harald Kuhn (JIRA)
Harald Kuhn created COMPRESS-188:


 Summary: Improved Exceptionhandling for unsupported zip 
compression methods
 Key: COMPRESS-188
 URL: https://issues.apache.org/jira/browse/COMPRESS-188
 Project: Commons Compress
  Issue Type: Improvement
  Components: Compressors
Affects Versions: 1.4.1
Reporter: Harald Kuhn
Priority: Minor


If an unsupported zip compression methods, the created exception is not very 
helpfull for analysing why a zip archive could not be opend. Giving a name or 
description of the method can be very helpful.

--
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




[jira] [Commented] (COMPRESS-188) Improved Exceptionhandling for unsupported zip compression methods

2012-06-23 Thread Harald Kuhn (JIRA)

[ 
https://issues.apache.org/jira/browse/COMPRESS-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13399928#comment-13399928
 ] 

Harald Kuhn commented on COMPRESS-188:
--

For a project of my own, i created a enum style class for ZipMethods which 
contains methods i identified and names / descriptions for them and extended 
the UnsupportedZipFeatureException to use this names / descriptions for these 
features

 Improved Exceptionhandling for unsupported zip compression methods
 --

 Key: COMPRESS-188
 URL: https://issues.apache.org/jira/browse/COMPRESS-188
 Project: Commons Compress
  Issue Type: Improvement
  Components: Compressors
Affects Versions: 1.4.1
Reporter: Harald Kuhn
Priority: Minor
 Attachments: UnsupportedZipFeatureException.java.patch


 If an unsupported zip compression methods, the created exception is not very 
 helpfull for analysing why a zip archive could not be opend. Giving a name or 
 description of the method can be very helpful.

--
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