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 190930

Summary: I18N: dup checking is not correct for multibyte characters in Connection Name for Remote Connections
Product: php Reporter: Masaki Katakai <masaki>
Component: FTP SupportAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED FIXED    
Severity: normal CC: OndrejBrejla
Priority: P3 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Masaki Katakai 2010-10-12 02:07:12 UTC
Created attachment 102358 [details]
screenshot

1. Create a PHP project
2. Open project properties dialog
3. Run Configuration
4. Select Remote Web Site in Run As
5. Click Manage button to open Remote Connections dialog
6. Try to add one with Japanese characters e.g. [A] ([A] is japanese)
7. Try to add the another one - just 1 character e.g. [B]

It should work because different characters but
it complains that the name is already registered.
It seems that Japanese character is converted to ascii "_"
and checking fails.

See screenshot in attachment.

Suggestion:
- check by using correct multibyte
Or
- Allow just ascii characters for the name field
Comment 1 OndrejBrejla 2011-04-05 09:34:44 UTC
It's reproducible.
Comment 2 OndrejBrejla 2011-04-05 12:57:37 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/4b7002f1616e

Can you test it please? It works fine for me. It will be in a dev build in a day or two...thanks.
Comment 3 Quality Engineering 2011-04-06 08:43:26 UTC
Integrated into 'main-golden', will be available in build *201104060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4b7002f1616e
User: Ondrej Brejla <OndrejBrejla@netbeans.org>
Log: #190930 - I18N: dup checking is not correct for multibyte characters in Connection Name for Remote Connections