[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2087) show apt. message when archive type is not supported

Prabhat Jha (JIRA) jira-events at lists.jboss.org
Thu Jul 24 16:09:45 EDT 2008


show apt. message when archive type is not supported
----------------------------------------------------

                 Key: JBPORTAL-2087
                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2087
             Project: JBoss Portal
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Portal CMS
    Affects Versions: 2.6.6 Final
            Reporter: Prabhat Jha
            Assignee: Sohil Shah


I don't think it's a bug. I think CMS can only upload archive in zip format. I uploaded a .tgz file and I see 

14:24:40,013 ERROR [STDERR] Caused by: java.io.IOException: Negative seek offset
14:24:40,013 ERROR [STDERR]     at java.io.RandomAccessFile.seek(Native Method)
14:24:40,013 ERROR [STDERR]     at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:365)
14:24:40,013 ERROR [STDERR]     at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:243)
14:24:40,013 ERROR [STDERR]     at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:142)
14:24:40,013 ERROR [STDERR]     at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:101)
14:24:40,013 ERROR [STDERR]     at org.jboss.portal.cms.impl.jcr.command.StoreArchiveCommand.execute(StoreArchiveCommand.java:84)
14:24:40,013 ERROR [STDERR]     ... 26 more

It should display appropriate message if it can not upload a file of particular type.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list