You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "dsmw (JIRA)" <ji...@apache.org> on 2011/07/12 18:00:00 UTC

[jira] [Created] (CAMEL-4215) FtpOperations Delete operation not respecting Stepwise Attribute

FtpOperations Delete operation not respecting Stepwise Attribute
----------------------------------------------------------------

                 Key: CAMEL-4215
                 URL: https://issues.apache.org/jira/browse/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: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-4215) FtpOperations Delete operation not respecting Stepwise Attribute

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-4215:
----------------------------------

    Assignee: Claus Ibsen

> FtpOperations Delete operation not respecting Stepwise Attribute
> ----------------------------------------------------------------
>
>                 Key: CAMEL-4215
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4215
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.7.2
>         Environment: All
>            Reporter: dsmw
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: FtpOperations.patch
>
>
> Current implementation of deleteFile(String name) ignores the Endpoints 'stepwise' requirement. 
> This was noticed when interfacing with a MVS ftp system with the 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: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4215) FtpOperations Delete operation not respecting Stepwise Attribute

Posted by "dsmw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dsmw updated CAMEL-4215:
------------------------

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

This was noticed when interfacing with a MVS ftp system with the 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.

  was:
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.


> FtpOperations Delete operation not respecting Stepwise Attribute
> ----------------------------------------------------------------
>
>                 Key: CAMEL-4215
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4215
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.7.2
>         Environment: All
>            Reporter: dsmw
>            Priority: Minor
>         Attachments: FtpOperations.patch
>
>
> Current implementation of deleteFile(String name) ignores the Endpoints 'stepwise' requirement. 
> This was noticed when interfacing with a MVS ftp system with the 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: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4215) FtpOperations Delete operation not respecting Stepwise Attribute

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CAMEL-4215:
-------------------------------

    Fix Version/s: 2.7.3

> FtpOperations Delete operation not respecting Stepwise Attribute
> ----------------------------------------------------------------
>
>                 Key: CAMEL-4215
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4215
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.7.2
>         Environment: All
>            Reporter: dsmw
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.7.3, 2.8.0
>
>         Attachments: FtpOperations.patch
>
>
> Current implementation of deleteFile(String name) ignores the Endpoints 'stepwise' requirement. 
> This was noticed when interfacing with a MVS ftp system with the 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: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4215) FtpOperations Delete operation not respecting Stepwise Attribute

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4215.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

Thanks for the patch. I removed the code that swallowed the exception to surface the problem to the end user (as it will have the exception + stacktrace).

> FtpOperations Delete operation not respecting Stepwise Attribute
> ----------------------------------------------------------------
>
>                 Key: CAMEL-4215
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4215
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.7.2
>         Environment: All
>            Reporter: dsmw
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: FtpOperations.patch
>
>
> Current implementation of deleteFile(String name) ignores the Endpoints 'stepwise' requirement. 
> This was noticed when interfacing with a MVS ftp system with the 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: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4215) FtpOperations Delete operation not respecting Stepwise Attribute

Posted by "dsmw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dsmw updated CAMEL-4215:
------------------------

    Attachment: FtpOperations.patch

> FtpOperations Delete operation not respecting Stepwise Attribute
> ----------------------------------------------------------------
>
>                 Key: CAMEL-4215
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4215
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.7.2
>         Environment: All
>            Reporter: dsmw
>            Priority: Minor
>         Attachments: FtpOperations.patch
>
>
> 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: http://www.atlassian.com/software/jira