cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25021] New: - [PATCH] ZipArchiveSerializer does not check for non existing files
Date Wed, 26 Nov 2003 15:33:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25021>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25021

[PATCH] ZipArchiveSerializer does not check for non existing files

           Summary: [PATCH] ZipArchiveSerializer does not check for non
                    existing files
           Product: Cocoon 2
           Version: 2.0.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: jh@domek.be


Adding zip:entry elements with a src attribute that point to a non-existing file
cause the whole zipfile to be corrupt. Neither winzip or gnu unzip can open the
archive anymore.

Patch checks exists() and canRead() and issues a logger warning if it fails. The
entry is then skipped instead of added.

Mime
View raw message