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 16905 - (Cloneable)EditorSupport should differenciate between external change and deletion.
Summary: (Cloneable)EditorSupport should differenciate between external change and del...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@editor
Depends on:
Blocks: 21748
  Show dependency tree
Reported: 2001-10-24 12:04 UTC by Petr Slegr
Modified: 2010-01-12 05:20 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Slegr 2001-10-24 12:04:19 UTC

Bad behaviour after file external deletion.

1. Open a file into editor and modify it (DO NOT SAVE).
2. Delete it from the OS.
3. Then dialog "File <name> is modified. Save it?" will appear (the same one as 
when editor with modified file is to be closed).
4. If you will choose Save or Discard the editor will be closed. Note that for 
Save data will be saved indeed, fortunately. But the dialog's message is 
misleading. Also afer Save the editor shouldn't be closed.

I suggest better message like "File was externally deleted. Do you want keep 

See also at:
Comment 1 Peter Zavadsky 2001-10-24 12:57:29 UTC
Changing to enhancement, changing description and decreasing priority.

The current behaviour is already long-term and therefore I think can't
be considered as a bug, i.e. the support was not designed to
differenciate between external change and deletion.

The solution needs to be reconsidered, some design changes will be
probably necessary.
Comment 2 Jan Chalupa 2001-11-27 13:03:06 UTC
Target milestone -> 3.3.1.
Comment 3 Marek Grummich 2002-07-22 11:25:19 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 11:27:54 UTC
Set target milestone to TBD
Comment 5 Marian Mirilovic 2002-12-06 17:17:56 UTC
reassigne to David K., new owner of editor
Comment 6 Antonin Nebuzelsky 2008-04-17 15:14:28 UTC
Reassigning to new module owner mslama.