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 89029 - Properties nodes are not deleted correctly
Summary: Properties nodes are not deleted correctly
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on: 157754
Blocks:
  Show dependency tree
 
Reported: 2006-11-09 14:42 UTC by Jana Maleckova
Modified: 2009-03-31 12:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2006-11-09 14:42:04 UTC
NetBeans IDE Dev (Build 200611081900)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250
dual core

Description:
============
All actions serving for editing, deleting and so on of properties nodes in
project win, are not saved.
steps
1. create new properties file
2. add e.g. 3 properties in properties editor and do save
3. close properties editor or class editor if are opened.
4. delete all nodes under property file from project win, you've created before
5. now it would have been expected, property file is empty but when you check it
in your file system, file was not cleaned.

Operation is done only if you open the property file again and do save. Then all
changes are accepted but it's not correct behaviour.
Comment 1 Marian Petras 2007-01-17 16:56:01 UTC
Confirmed, accepted.
Comment 2 Alexey Butenko 2009-02-02 09:58:41 UTC
I think that key nodes don't needed under property file node at all. 
It is better to move it to Navigator window.
So I created separate issue for that. 
Comment 3 Alexey Butenko 2009-03-31 12:37:37 UTC
changeset 6f190c73dac1