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.
Product Version: NetBeans IDE Dev (Build 200803130007) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-121 System: Mac OS X version 10.4.11 running on ppc; MacRoman; en_US (nb) Description: ============ Open dialog for Internationalization 1. select some properties file 2. invoke dialog for format There is some format as default (java.util.ResourceBundle.getBundle("{bundleNameSlashes}").getString("{key}")) 3. just delete argument e.g. {bundleNameSlashes} and press ok 4. invoke format again 5. place cursor on place where {bundleNameSlashes} was before deleting 6. do double click on argument {bundleNameDots} which is offered below 7. confirm check, new argument doesn't occur in string
Confirmed in build 080402.
If the combo-box receives focus between steps 6. and 7., the format is saved as expected. So it seems that focus gain/loss is what triggers storage of the new format. This should be easy to fix.
Fixed in main http://hg.netbeans.org/main/rev/4f221290d949
I have simplified the fix: http://hg.netbeans.org/main/rev/3fd521673cd1 The resulting fix of this bug is thus very simple. To see the diff, run the following command: hg diff -r dd3708230e53 -r 3fd521673cd1 i18n/src/org/netbeans/modules/i18n/HelpStringCustomEditor.java
verified on Product Version: NetBeans IDE Dev (Build 20080424060718) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Merged into release61_fixes repository changeset: 77450:1154d05a80df user: Rudolf Balada <rbalada@netbeans.org> date: Thu Apr 10 13:45:50 2008 +0200 summary: #130058: Changes made in format for internationalized string is not remembered changeset: 77451:2643fac76917 tag: tip user: mpetras@netbeans.org date: Mon Apr 14 17:31:37 2008 +0200 summary: simplified fix of bug #130058 ("Changes made in format for internationalized string is not remembered ")
verified in patch1