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 222568 - Move Internationalized Form: New Properties Files Sometimes Not Created in Destination Package
Summary: Move Internationalized Form: New Properties Files Sometimes Not Created in De...
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-22 00:23 UTC by MackSix
Modified: 2012-11-22 00:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project to use for reproduction. (77.96 KB, application/zip)
2012-11-22 00:23 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-11-22 00:23:26 UTC
Created attachment 128233 [details]
Project to use for reproduction.

When moving a Internationalized Form to another package, new property files are supposed to be created in the destination package leaving property files in the source package blank. See [1]>> "Test suite: Refactoring">> 3. Moving to another package

[1] http://wiki.netbeans.org/TS_73_FormAndSupportSanity

Sometimes this does not happen and the original properties files are preserved, the reference to the original properties files in the Form is preserved and no new properties files are created. This can be seen by moving the Form file in the attached sample project.

1. Open attached sample project in Netbeans.
2. Move NewJframe.java to "newpackage".
3. Compile and Run project.

Expected results: All properties files in "internationalization" package should be blank and new properties files should have been recreated in "newpackage" package.

Actual results: All properties files in "internationalization" package are intact and no new properties files were created in "newpackage" package. The project still compiles and runs OK.


Product Version: NetBeans IDE Dev (Build 201211200002)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)