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.
Development build #200405171800 of NetBeans 4.0 Windows XP with JDK 1.4.2_02 Description: ============ Editor does not update its content when opened file is changed physically on the disc. This typically happens during operations like "CVS|Update" and has further consequences like not working "Resolve Conflicts" action. Steps to reproduce: =================== 1. Register existing CVS directory in Versioning Manager. 2. Open project stored in it and "Open" some [up-to-date] file into editor. 3. Change it and commit new revision into CVS repository. 4. Invoke "CVS|Show Versions" action on the file. 5. Right click some older revision and choose "Update". 6. Note that editor still displays your changes from step 3.
This definitely used to work. It must be some weird regression. It must be investigated whether the problem is in VCS modules or Editor framework.
I have no idea where the problem is. AbstractFileSystem.refreshResource(...) is correctly called for the affected files. I suppose that this is either a problem of masterfs that it does not propagate the refreshes correctly, or a regression in editor support.
Please note that this issue is Q-Build stopper.
Fixed into trunk: /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/MasterFileObject.java new revision: 1.17; previous revision: 1.16 Martin please verify and then I'll commit it into QBE20040518224.
Maybe Jirka could verify it.
Also commited into branch. /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/MasterFileObject.java new revision: 1.16.2.1; previous revision: 1.16
Verified in development build #20040520-1605 of NetBeans 4.0.
I also confirm that the behavior is correct now. Thanks.