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 249244

Summary: Removing a component doesn't remove related strings from properties files with invalid locale
Product: guibuilder Reporter: Trejkaz
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Trejkaz 2014-12-10 00:33:43 UTC
I was editing a form which was using "Automatic Internationalisation".

I deleted a label component called "nameLabel". When I saved the form, NetBeans asked me whether I wanted to update the following localisations at the same time:

    Bundle_ar.properties
    Bundle_de.properties
    Bundle_fr_CA.properties
    Bundle_ja.properties
    Bundle_ko.properties
    Bundle_nl.properties
    Bundle_pt_BR.properties
    Bundle_zh_CN.properties

I said OK and it updated exactly those files. Problem is, there was one more file which it didn't seem to even notice:

    Bundle_es_419.properties

Could it be that the GUI builder has made an incorrect assumption about what is "valid" in a locale code? :)