This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248074 - No event on remote plain file modification
Summary: No event on remote plain file modification
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-21 15:15 UTC by Vladimir Kvashin
Modified: 2014-11-11 12:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
a test that shows one more difference between local and remote events (4.67 KB, application/octet-stream)
2014-10-22 11:52 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2014-10-21 15:15:03 UTC
If you attach a listener to a remote plain file, and this file is modified externally, listener will not be fired. But it should.

If you attach a listener to this file parent directory, it will be fired.
Comment 2 Vladimir Kvashin 2014-10-22 11:52:18 UTC
Created attachment 150053 [details]
a test that shows one more difference between local and remote events

There is one more diff between local and remote events, but they are only in event.getSource(). The attached test shows this. I'm not sure it's worths fixing.
Comment 3 Vladimir Kvashin 2014-10-23 10:57:16 UTC
A couple of tests failed after this fix => reopening issue.
Comment 5 Quality Engineering 2014-11-07 03:50:52 UTC
Integrated into 'main-silver', will be available in build *201411070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5d25827ca484
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: test for #248074 - No event on remote plain file modification
Comment 6 Quality Engineering 2014-11-10 23:21:31 UTC
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/e5ee4a4a454f
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: test for #248074 - No event on remote plain file modification
(transplanted from 5d25827ca484ea57988305be5c661a72baf1d302)