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 36788

Summary: Locales' node names?
Product: utilities Reporter: ehucka <ehucka>
Component: PropertiesAssignee: issues@utilities <issues>
Status: VERIFIED FIXED    
Severity: blocker Keywords: T9Y
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ehucka 2003-10-23 11:58:59 UTC
I've run many automated tests which are failing
because of non-unified locales' nodes names.

Example:
I add the cs_CZ locale:
in one test case it was named: 'cs - Czech'
in other case: 'cs_CZ - Czech/Czech Republic'
(expected)
in other case: 'cs - cz'
and sometimes: 'cz - Cestina' (with diacritics).

Are there any rules for locales' nodes names?
Comment 1 ehucka 2004-01-21 16:28:15 UTC
I've increassed priority to P2. The issue has hard impact to automated
tests.
Comment 2 Marian Petras 2004-02-02 15:08:36 UTC
Accepted. It is a bug in module Properties.
Comment 3 Marian Petras 2004-02-23 14:48:11 UTC
Fixed in the trunk.

Although this is fixed now both from the programmer's and from the
user's view, you may encounter different display names of nodes on
various systems.

The factors which may influence display names are:
  - current locale of the JVM running the tests
    (usually taken from the operating system's settings)
  - version of JDK/JRE
Comment 4 ehucka 2004-02-26 16:55:06 UTC
Build 200402251900
Results from automated tests for the Czech locale:

Solaris 9 Sparc: 'cs - Czech' always

Red Hat Linux 8: 50% of 'cs_CZ - Czech (Czech Republic)' and 50% of
'cs - Czech'

Windows 2000: mostly 'cs_CZ - Czech (Czech Republic)' sometimes 'cs_CZ
- Czech/Czech Republic'

Is there any way to find which name a locale should have?
Why don't have locales the same name on the one machine?
Comment 5 ehucka 2004-02-26 17:34:56 UTC
I've recognized there are maybe problems in automated tests.
I will research it. Now, you can resolved it.
Comment 6 Marian Petras 2004-02-27 12:33:21 UTC
OK, marking as fixed, again.
Comment 7 ehucka 2004-03-02 14:40:46 UTC
verified