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 - Removing a component doesn't remove related strings from properties files with invalid locale
Summary: Removing a component doesn't remove related strings from properties files wit...
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-10 00:33 UTC by Trejkaz
Modified: 2015-09-22 13:54 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 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? :)