Archiva

Unable to download tar.bz2 type

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.2-M1
  • Fix Version/s: None
  • Component/s: browser
  • Labels:
    None
  • Environment:
    linux, java5
  • Number of attachments :
    0

Description

I am able to use deploy:deploy-file or archiva's upload feature to upload

groupId: org.gnu
artifactId: binutils
version:2.9.1
packaging:tar.bz2

The browser would show it as

Collection: /org/gnu/binutils/2.9.1

  • /org/gnu/binutils (Parent)
  • binutils-2.9.1.tar.bz2
  • binutils-2.9.1.tar.bz2.md5
  • binutils-2.9.1.tar.bz2.sha1
  • binutils-2.9.1.tar.pom
  • binutils-2.9.1.tar.pom.md5
  • binutils-2.9.1.tar.pom.sha1
  • maven-metadata.xml
  • maven-metadata.xml.md5
  • maven-metadata.xml.sha1

However when click on binutils-2.9.1.tar.bz2

browser shows

HTTP ERROR: 404

Resource does not exist

RequestURI=/archiva/repository/thirdparty/org/gnu/binutils/2.9.1/binutils-2.9.1.tar.bz2

Powered by Jetty://

The work around is to use packaging "tbz2"

However if i upload the file using tbz2 packaging with classifier as "sources"

groupId: org.gnu
artifactId: binutils
version:2.9.1
packaging:tbz2
classifier=sources

The browser return http 404

but this will work if I set the classifier to "src"

groupId: org.gnu
artifactId: binutils
version:2.9.1
packaging:tbz2
classifier=src

Issue Links

Activity

Hide
Dan Tran added a comment -

also, i dont see any error in the log files

Show
Dan Tran added a comment - also, i dont see any error in the log files
Hide
Brett Porter added a comment -

is this a regression from 1.1.3?

Show
Brett Porter added a comment - is this a regression from 1.1.3?
Hide
Dan Tran added a comment -

just tested with 1.1.3, the same error happens

Show
Dan Tran added a comment - just tested with 1.1.3, the same error happens
Hide
Brett Porter added a comment -

thanks. we're trying to cut down the issues for 1.2 to get a release out so I'll schedule this for the next - however if you're able to help with a patch we'd be able to include it in the next release

Show
Brett Porter added a comment - thanks. we're trying to cut down the issues for 1.2 to get a release out so I'll schedule this for the next - however if you're able to help with a patch we'd be able to include it in the next release
Hide
Brett Porter added a comment -

still an issue in 1.4, pushing back as there are a bunch of path related things to deal with together in the next round of refactoring

Show
Brett Porter added a comment - still an issue in 1.4, pushing back as there are a bunch of path related things to deal with together in the next round of refactoring

People

  • Assignee:
    Unassigned
    Reporter:
    Dan Tran
Vote (3)
Watch (5)

Dates

  • Created:
    Updated:
    Resolved: