ServiceMix
  1. ServiceMix
  2. SM-937

Poller polls subdirectory even though recursive is set to false

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.2, 3.2
    • Component/s: servicemix-ftp
    • Labels:
      None

      Description

      Poller polls subdirectory even though recursive is set to false because in the first call to pollFileOrDirectory processDir is set to true. Either the first call should use the value of property recursive or the processDir flag should be checked before starting to process the files in the directory.

        Activity

        Markus Rado created issue -
        Hide
        Rabi added a comment -

        patch attached

        Show
        Rabi added a comment - patch attached
        Rabi made changes -
        Field Original Value New Value
        Attachment patch-ftppoller.txt [ 15598 ]
        Show
        Gert Vanthienen added a comment - Thanks to Rabi Mishra for providing this patch! http://svn.apache.org/viewvc?view=rev&revision=556821 http://svn.apache.org/viewvc?view=rev&revision=556822
        Gert Vanthienen made changes -
        Fix Version/s 3.1.2 [ 11824 ]
        Fix Version/s 3.2 [ 11810 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        91d 14h 9m 1 Gert Vanthienen 17/Jul/07 05:52

          People

          • Assignee:
            Unassigned
            Reporter:
            Markus Rado
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development