Opened 16 years ago
Closed 16 years ago
#1230 closed defect (fixed)
Using "Browse" in Packed file exporter results in an empty compressed file
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.9.3 |
Component: | coreplugins | Version: | |
Keywords: | Cc: |
Description (last modified by )
- Go to the File manager (View -> Files)
- Browse to a directory and select at least one file or directory
- Click on "Export".
- Select the "Packed file exporter" plug-in and "GZipped TAR archive". Click Next.
- Select the "Save as" parameter and click on the "Browse" button.
- Click on "Cancel" in the popup window. Make sure that the value for the "Save as" parameter hasn't changed.
- Click "Next" and finsh the configuration wizard.
- Wait for the job to finish.
- The plug-in should complete successfully, but reports: Done: 0 file(s) and directories compressed successfully.
Note! If the ZIP format is selected instead of Gzipped TAR in step 4 the plug-in fails with:
java.util.zip.ZipException: ZIP file must have at least one entry at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:146) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321) at net.sf.basedb.util.zip.ZipFilePacker.close(ZipFilePacker.java:116) at net.sf.basedb.plugins.PackedFileExporter.performExport(PackedFileExporter.java:433) at net.sf.basedb.core.plugin.AbstractExporterPlugin.run(AbstractExporterPlugin.java:144) at net.sf.basedb.core.PluginExecutionRequest.invoke(PluginExecutionRequest.java:106) at net.sf.basedb.core.InternalJobQueue$JobRunner.run(InternalJobQueue.java:504) at java.lang.Thread.run(Thread.java:619)
Note! If step 5 is skipped, everything works as expected.
Change History (2)
comment:1 by , 16 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [4724]) Fixes #1230: Using "Browse" in Packed file exporter results in an empty compressed file