rhn-download-manager server side has logic to check your csv against what is in the db and, if one of your downloads already exists in the db but is just disabled, reuse that row. This logic causes ISEs. (the row seems to be inserted again, rather than updated, and with missing columns)
added user story to accepted backlog
To test: * Get the list of downloads for a channel: rhn-download-manager --server webdev --list --show-all rhel-i386-server-5 -o my.csv (make sure at least one of these isos actually exists on the filer. if not, get jbowes to copy it over.) * Remove all of the existing lines except the iso that actually exists. * for that iso, set it to be disabled by changing the download type field from 'iso' to 'disabled' * Upload this info to the server: rhn-download-manager --server webdev --upload my.csv (you should not get a 500 error here) * just for fun, try with --commit as well.
so now in dev when i click on the iso I get a 500 error-- shouldn't it just not display... https://rhn.webdev.redhat.com/download/1211395511/c3f06883ba702ee90ee14e1a45e1735214b78e55/5036675/24993/rhn/isos/RHEL5.1/rhel-i386-server-5/rhel-5.1-server-source-disc1.iso
500 error should be fixed. (x-repcon was disabled on the proxy) So, regarding reusing a download, the only thing you can really change is if its an iso, or disabled. if you change anything else, if makes a new row. This is why the link to source disc 1 still shows up, because the db contains a new row for the Amy source disc, which is properly disabled.
ok looks good
disabled and put back to iso-- disc 1...
verified