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 - I18N: dup checking is not correct for multibyte characters in Connection Name for Remote Connections
Summary: I18N: dup checking is not correct for multibyte characters in Connection Nam...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2010-10-12 02:07 UTC by Masaki Katakai
Modified: 2011-07-28 11:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (77.21 KB, image/png)
2010-10-12 02:07 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
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