camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dsmw (JIRA)" <>
Subject [jira] [Created] (CAMEL-4215) FtpOperations Delete operation not respecting Stepwise Attribute
Date Tue, 12 Jul 2011 16:00:00 GMT
FtpOperations Delete operation not respecting Stepwise Attribute

                 Key: CAMEL-4215
             Project: Camel
          Issue Type: Bug
          Components: camel-ftp
    Affects Versions: 2.7.2
         Environment: All
            Reporter: dsmw
            Priority: Minor

Current implementation of deleteFile(String name) ignores the Endpoints 'stepwise' requirement.

This was noticed when interfacing with a MVS ftp system with thee operation failing silently
as the resulting exception is swallowed by higher order code.

I've unfortunately been unable to create a test case that emulates the behavior, since the
Apache FtpServer and associated mocks used within the test cases don't emulate the behavior
of the MVS platform.

I believe other operations suffer the same problem (e.g rename).

I've attached a patch that corrects the issue. Existing test cases all pass, though someone
will probably want to see if this implementation is the most efficient.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message