Hi All,

There is a bug in the toolshed code when you upload a file with an error.

For example a jar file containing an tool_dependency.xml which refers to a non existing dependency.

The toolshed correct refuses to except the upload and stays at the old version,

However the files are added to the database/community_files/xxx/repo_yyy directory.

If I then later upload a different jar with different files the previous files are NOT deleted.

If you try to delete there from the webbrouser you get an error.

Quick Fix is to go into database/community_files/xxx/repo_yyy and delete the files manually.

Christian
University of Manchester

PS. I was able to replicate this with a brand new toolshed.

create admin user, category ect

create a tool and add a jar with a tool_dependecy.xml file with which reference a dependency not there

upload a different jar which does not include a tool_dependency.xml file

browse ...tip file 

mark tool_dependency.xml which is showing and attempt to delete.