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 28590

Summary: Key rename [refactoring]
Product: java Reporter: pfelenda <pfelenda>
Component: I18NAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description pfelenda 2002-11-08 13:23:31 UTC
How to reproduce :

- Open any class in form editor
- Open properties file (e.g. a.properties) in
property editor
- Change name of any component(e.g. text of JLabel
component) from java.lang.String to i18n string
(add new key to the a.properties file from form
editor properties)
- Change value of key of the text you added to
properties file from form editor properties (make
the change in form editor properties)
-> There is no changes in properties file in
properties editor. The value of the key is same as
before change.
Comment 1 _ pkuzel 2003-02-04 19:16:53 UTC
A new key value pair is inserted.

Unfortunately the old one is not removed. Key defines property file
entry identity. 

It's kind of refactoring. Implementation can track if user changed
only the key and then use rename operation on the key (it should
probably also rename the key usages in all property files in bundle).