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 111675 - I18N - Refactoring dlg has a text not from pseudo localized bundle file
Summary: I18N - Refactoring dlg has a text not from pseudo localized bundle file
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: API (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-08-01 19:35 UTC by kaa
Modified: 2007-10-24 19:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (32.69 KB, image/jpeg)
2007-08-01 19:36 UTC, kaa
Details
npe (4.11 KB, text/plain)
2007-09-03 20:03 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2007-08-01 19:35:42 UTC
build 0727, ja_JP

1. Create WSDL Document
2. Add a binding using pop-up menu (on wsdl view binding1 appears)
3. Select binding1 and rename it using Refactor from the pop-up menu

Refactoring window has <Preview not Available> message.
I'm running in the Japan locale, using a pseudo localized Netbeans.
The message does not come from the pseudo localized jar file.
Comment 1 kaa 2007-08-01 19:36:10 UTC
Created attachment 46027 [details]
image
Comment 2 Jan Becicka 2007-08-02 07:49:14 UTC
Checking in RefactoringPanel.java;
/cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/RefactoringPanel.java,v  <--  RefactoringPanel.java
new revision: 1.21; previous revision: 1.20
done
Checking in Bundle.properties;
/cvs/refactoring/api/src/org/netbeans/modules/refactoring/spi/impl/Bundle.properties,v  <--  Bundle.properties
new revision: 1.16; previous revision: 1.15
done
Comment 3 kaa 2007-09-03 20:02:26 UTC
after the step 3 there is NPE.
reproducible using both utf-8 and win-31j project encodings.
build 0830, ja_JP
Comment 4 kaa 2007-09-03 20:03:26 UTC
Created attachment 48001 [details]
npe
Comment 5 Jan Becicka 2007-09-04 07:25:48 UTC
Probably not related to original report. Definitely this has nothing to do with refactoring.
Comment 6 Samaresh Panda 2007-09-05 00:48:28 UTC
This has been taken care of in XMLFileEncodingQueryImpl.java:1.4.
Comment 7 kaa 2007-10-03 18:38:55 UTC
looks ok with 0927 build
Comment 8 Ken Frank 2007-10-24 19:48:29 UTC
what about, in orignal gif, the word Rename in the preview window - it does
not have the multibyte prefix/sufix - is it from a bundle file ?

(separate issue can be filed but wanted to ask about it here since related)

ken.frank@sun.com
Comment 9 Sonali Kochar 2007-10-24 19:58:20 UTC
It should be from the bundle file. Best would be to file a separate bug so that Jan Becicka can evaluate.