Bug 153124 - using the same csv file twice should not require the --force option
using the same csv file twice should not require the --force option
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Backend (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Wregglesworth
Max Spevack
Depends On:
Blocks: 147875
  Show dependency treegraph
Reported: 2005-04-01 13:55 EST by John Wregglesworth
Modified: 2007-04-18 13:22 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHN 4.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-31 22:44:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John Wregglesworth 2005-04-01 13:55:43 EST
Description of problem: Using the same csv file twice, even after deleting the
downloads first, you must use the --force option. As pointed out by cmacleod,
this doesn't make much sense, so I'm going to remove the --force option and
change the download-manager to be able to use the same csv file multiple times
without requiring a separate option.
Comment 1 John Wregglesworth 2005-04-01 14:03:05 EST
Removed the --force option and added the ability for rhn-download-manager to use
the same csv file twice.
Comment 2 Chris MacLeod 2005-04-01 14:39:36 EST
this isn't entirly true.

If you attempt to use the same csv file twice without deleteing anything that
should require a force option (or be disallowed completely).  doing 2 straight
uploads would result in duplicate isos on the website.

The problem I described was when isos were uploaded, then delete and then
attempted to reupload again.  Basically what happens is that they produce isos,
then they get uploaded then they respinand we have to resync the isos and
reupload them again after deleting them.
Comment 3 John Wregglesworth 2005-04-04 13:35:57 EDT
rhn-download-manager shouldn't throw a FileModified error when doing a
delete-upload cycle using the same csv file. It will throw a
DuplicateFileError if the user attempts to upload a file that already
exists in the db.
Comment 4 Mihai Ibanescu 2005-06-13 14:06:45 EDT
Mass move to ON_QA
Comment 5 Max Spevack 2005-08-03 17:03:19 EDT
<wregglej> mspevack_hm: chris has been using the changes I made to
download-manager for a while now, you probably don't need to test that. There's
not an easy test plan for that.
<mspevack_hm> ok, PROD_READY it is :-)

Note You need to log in before you can comment on or make changes to this bug.