Bug 2826

Summary: Oddity with command-line parameters, when used incorrectly
Product: RFT Reporter: Rob S <schuler@isi.edu>
Component: RFTAssignee: Ravi Madduri <madduri@mcs.anl.gov>
Status: RESOLVED FIXED    
Severity: minor CC: ogsa-bugs@globus.org
Priority: P3    
Version: development   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description From 2005-02-28 16:12:47
I was able to do something odd by incorrectly using RFT command-line tool. A
user-friendly fix here would stop someone like me from messing up.

Here's what I did:

bin/rft -h ned-0.isi.edu -r 9000 -file ./transfer.xfr

Where "./transfer.xfr" is my transfer request. The correct parameter above would
have been "-f" instead of "-file". Though I made this error the interface still
accepted my transfer request file as if I had used "-f" and then overwrote my
transfer request file with the RFT resource EPR. So now my transfer reqeust is gone.

In this case, it was ok because my xfr file was trivial, however, if it had been
more substantial I would have had a problem.

A better behavior might be to stop me from doing this and give a cmd-line error.
------- Comment #1 From 2005-03-07 13:46:56 -------
This is fixed in trunk now.