tracker issue : CF-3688991

select a category, or use search below
(searches all categories and all time range)

DirectoryWatcher doesn't trigger on changes to folders

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Jeff Tilkes / Jeff Tilkes (MudockSR)

Created: 01/03/2014

Components: Event Gateway

Versions: 10.0

Failure Type: Usability Issue

Found In Build/Fixed In Build: Final /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on February 16, 2019 using build 2016.0.01.298513
Problem Description: When using a directory watcher it only triggers for changes to files in the watched folder, it does not trigger for changes to folders

Steps to Reproduce: setup a directory watcher and add/change/delete a folder without also affecting a file. For example create a new folder, delete an existing (empty) folder, or rename a folder.

Actual Result: The event is not triggered

Expected Result: The action gets triggered just as it does for files

Any Workarounds: none that I know of

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3688991

External Customer Info:
External Company:  
External Customer Name: MudockSR
External Customer Email:  
External Test Config: My Hardware and Environment details: ColdFusion 10 update 12



My use case is syncing folders between two servers, since it does not trigger on a change to a folder the remote server becomes out of sync as folders are edited.
Comment by External U.
13762 | January 03, 2014 03:20:24 PM GMT
Verified in CF12. This is working fine and event is getting triggered for adding/deleting/changing(rename) a folder. Hence, closing this bug. (Comment added from ex-user id:prk)
Comment by Adobe D.
13763 | June 19, 2015 12:04:05 PM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). In CF11 Update 7 (build, only files were watched. In CF2016 Update 1, files -and- directories are watched. Thanks!, -Aaron
Comment by Aaron N.
30279 | February 16, 2019 03:29:11 AM GMT