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 122649 - I18N - 'Find Strike Iron Service' option disappears from pop-up
Summary: I18N - 'Find Strike Iron Service' option disappears from pop-up
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Manager (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-11-23 15:57 UTC by kaa
Modified: 2008-02-20 18:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
org-netbeans-modules-websvc-components-strikeiron_ja.jar (3.67 KB, application/octet-stream)
2007-11-23 15:57 UTC, kaa
Details
without _ja.jar (25.28 KB, image/jpeg)
2007-11-23 16:03 UTC, kaa
Details
with _ja.jar (22.11 KB, image/jpeg)
2007-11-23 16:03 UTC, kaa
Details
will not see the problem with both locale jars; to be unzipped into enterprise4/modules/locale (10.85 KB, application/octet-stream)
2008-01-04 17:39 UTC, Nam Nguyen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2007-11-23 15:57:01 UTC
build 1119, ja_JP

1. Launch the ide, open Services tab, Select Web Services -> Strikeiron Services. Then open pop-up menu.

Result:
There is 'Find Strike Iron Service' option in it.

4. Exit from the ide
5. Copy org-netbeans-modules-websvc-components-strikeiron_ja.jar to enterprise4/modules/locale/
6. Launch the ide, open Services tab, Select Web Services -> Strikeiron Services. Then open pop-up menu.

Result:
There is no 'Find Strike Iron Service' option in it.

8. Exit the Ide
7. Remove org-netbeans-modules-websvc-components-strikeiron_ja.jar
9. Launch the ide, open Services tab, Select Web Services -> Strikeiron Services. Then open pop-up menu.

Result:
'Find Strike Iron Service' option appears in the menu again.

I'm running in the Japan locale, using a pseudo localized Netbeans.
org-netbeans-modules-websvc-components-strikeiron_ja.jar belongs to the pseudo bundle and it is required to further l10n
process. Functionality should be the same with l10n files.
Comment 1 kaa 2007-11-23 15:57:52 UTC
Created attachment 53409 [details]
org-netbeans-modules-websvc-components-strikeiron_ja.jar
Comment 2 kaa 2007-11-23 16:02:30 UTC
Ignore please step numbers. Proceed them as they follow each other.
Comment 3 kaa 2007-11-23 16:03:35 UTC
Created attachment 53410 [details]
without _ja.jar
Comment 4 kaa 2007-11-23 16:03:56 UTC
Created attachment 53411 [details]
with _ja.jar
Comment 5 Roderico Cruz 2007-11-28 05:09:12 UTC
Not a show stopper. Will fix in the trunk.
Comment 6 Ken Frank 2007-11-28 15:48:30 UTC
doesnt this mean that user using translated netbeans will not see
this menu item or be able to use it.  If so, that seems serious.  Is there a workaround ?

I suggest escalating this for fixing in 6.0.1 release if it happens since ml release will be
from 6.0.1.  Can we discuss this soon ?

ken.frank@sun.com
Comment 7 Ken Frank 2007-12-03 16:12:23 UTC
added release60_fixes_candidate2 to status whiteboard as per sustaining process,
so it can be seen if this can be fixed for patch 2.  We do think its important
in that, without the fix, users of translated netbeans will not see the
menu item Find Strike Iron Service at all.

Can you re-evaluate this and see if can be fixed for this patch ?

I can provide information about the internal process/aliases to be used for
the fix as to branch and aliases to notify.

ken.frank@sun.com
Comment 8 Ken Frank 2007-12-13 17:59:42 UTC
am marking as p1 in the context of other comments that we feel
this is needed to be fixed for patch 2 so it can be part of 
nb6.0.1 and not wait until fixing for May release of 6.1.

that is, without the fix, users of translated do not see the menu item at all.

I found out that fix needs to be in trunk first, then verified
before can get into the patch.

ken.frank@sun.com
Comment 9 Nam Nguyen 2008-01-03 03:46:36 UTC
Ken, how do i get a "pseudo-localized NetBeans"?
Comment 10 Nam Nguyen 2008-01-04 17:33:47 UTC
I was able to reproduce this with the first attached ja strikeiron jar.  With the both ja localized jars websvc-manager
an d strikeiron, provided by Ken (i will now attach), I could not reproduce the issue.  The explanation is that there is
tight coupling between the two jars on the service group name.

We can view this issue as operator error.  However it unveils the tight-coupling problem in the manager code.  The
ultimate fix is to have service manager query service group name from provider, not from its own bundle.  This would
require some api change.  I don't think this is a P1 and that we need this kind of fix for a patch.
Comment 11 Nam Nguyen 2008-01-04 17:39:41 UTC
Created attachment 54698 [details]
will not see the problem with both locale jars; to be unzipped into enterprise4/modules/locale
Comment 12 Ken Frank 2008-01-04 21:10:14 UTC
based on description of original issue, the websvc-manager pseudo localized jar
was installed, as were all pseudo localized jars; the problem was not seen when
only the strikeiron pseudo loclaized jar was not used.

Andrey, please try this again with a more recent build and pseudo loclaization,
since Nam does not see the problem using 2 pseudo localized jars I provided him.

Nam, which installers to use - the 6.0.1 or the trunk ? 

ken.frank@sun.com
Comment 13 Nam Nguyen 2008-01-04 22:34:54 UTC
I was using trunk.
Comment 14 Nam Nguyen 2008-01-05 02:08:53 UTC
Fixed in trunk.

Removed tight-coupling b/w manager and strikeiron modules by replacing the use of bundle string for "StrikeIron" default
filesystem folder, with a general use of localizingBundle attribute of partner folder required to be declared in partner
module layer file.

/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/Bundle.properties,v  <--  Bundle.properties
new revision: 1.12; previous revision: 1.11
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/WebServicePersistenceManager.java,v  <-- 
WebServicePersistenceManager.java
new revision: 1.13; previous revision: 1.12
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/util/ManagerUtil.java,v  <--  ManagerUtil.java
new revision: 1.7; previous revision: 1.6
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/resources/layer.xml,v  <-- 
layer.xml
new revision: 1.4; previous revision: 1.3
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.5; previous revision: 1.4
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/StrikeIronWebServiceManager.java,v
 <--  StrikeIronWebServiceManager.java
new revision: 1.6; previous revision: 1.5
/cvs/websvc/components/google/src/org/netbeans/modules/websvc/components/google/Bundle.properties,v  <--  Bundle.properties
new revision: 1.3; previous revision: 1.2
/cvs/websvc/components/google/src/org/netbeans/modules/websvc/components/google/layer.xml,v  <--  layer.xml
new revision: 1.4; previous revision: 1.3
Comment 15 kaa 2008-01-14 15:37:57 UTC
reproducible:
Product Version: NetBeans IDE 6.0 (Build 200801091200)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86粤ろ; MS932; ja_JP (nb)
Comment 16 Ken Frank 2008-01-14 15:52:20 UTC
moving back to resolved; as mentioned in the issue, it was fixed in trunk,
not 6.0.1, thus using the 6.0.1 would not show the fix;  and I don't think a pseudo localized has been provided for
that at this time; if a pseudo localized trunk was used for this verification,
then please change back to reopened. 

ken.frank@sun.com
Comment 17 kaa 2008-01-17 13:47:02 UTC
verified in trunk:
Product Version: NetBeans IDE 6.0 (Build 200801170000)
Comment 18 Karthikeyan Rajeswaran 2008-02-11 07:54:44 UTC
The fix has been ported into the release601_fixes branch. 

Checking in components/google/src/org/netbeans/modules/websvc/components/google/Bundle.properties;
/cvs/websvc/components/google/src/org/netbeans/modules/websvc/components/google/Attic/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.2.8.1; previous revision: 1.2
done
Checking in components/google/src/org/netbeans/modules/websvc/components/google/layer.xml;
/cvs/websvc/components/google/src/org/netbeans/modules/websvc/components/google/Attic/layer.xml,v  <--  layer.xmlnew
revision: 1.3.6.1; previous revision: 1.3
done
Checking in components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/Bundle.properties;
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/Attic/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.4.6.1; previous revision: 1.4
done
Checking in components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/StrikeIronWebServiceManager.java;
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/Attic/StrikeIronWebServiceManager.java,v
 <--  StrikeIronWebServiceManager.java
new revision: 1.5.6.1; previous revision: 1.5
done
Checking in components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/resources/layer.xml;
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/resources/Attic/layer.xml,v  <--
 layer.xml
new revision: 1.3.6.1; previous revision: 1.3
done
Checking in manager/src/org/netbeans/modules/websvc/manager/Bundle.properties;
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/Attic/Bundle.properties,v  <--  Bundle.properties
new revision: 1.11.6.1; previous revision: 1.11
done
Checking in manager/src/org/netbeans/modules/websvc/manager/WebServicePersistenceManager.java;
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/Attic/WebServicePersistenceManager.java,v  <-- 
WebServicePersistenceManager.java
new revision: 1.11.8.1; previous revision: 1.11
done
Checking in manager/src/org/netbeans/modules/websvc/manager/util/ManagerUtil.java;
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/util/Attic/ManagerUtil.java,v  <--  ManagerUtil.java
new revision: 1.5.8.1; previous revision: 1.5
done
Comment 19 Karthikeyan Rajeswaran 2008-02-20 18:04:39 UTC
Removing 'release601_fixes_candidate1 release601_fixes_fixed' status whiteboard values.

These fixes were directly delivered to uc by the iteam as part of 0.5.1 update to restkit module.

The changes made to fixes branch will be rolled back.
Comment 20 Karthikeyan Rajeswaran 2008-02-20 18:32:43 UTC
Changes rolled back in release601_fixes branch.

Checking in src/org/netbeans/modules/websvc/manager/Bundle.properties;
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/Attic/Bundle.properties,v  <--  Bundle.properties
new revision: 1.11.6.2; previous revision: 1.11.6.1
done
Checking in src/org/netbeans/modules/websvc/manager/WebServicePersistenceManager.java;
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/Attic/WebServicePersistenceManager.java,v  <-- 
WebServicePersistenceManager.java
new revision: 1.11.8.2; previous revision: 1.11.8.1
done
Checking in src/org/netbeans/modules/websvc/manager/util/ManagerUtil.java;
/cvs/websvc/manager/src/org/netbeans/modules/websvc/manager/util/Attic/ManagerUtil.java,v  <--  ManagerUtil.java
new revision: 1.5.8.2; previous revision: 1.5.8.1
done
Checking in google/src/org/netbeans/modules/websvc/components/google/Bundle.properties;
/cvs/websvc/components/google/src/org/netbeans/modules/websvc/components/google/Attic/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.2.8.2; previous revision: 1.2.8.1
done
Checking in google/src/org/netbeans/modules/websvc/components/google/layer.xml;
/cvs/websvc/components/google/src/org/netbeans/modules/websvc/components/google/Attic/layer.xml,v  <--  layer.xml
new revision: 1.3.6.2; previous revision: 1.3.6.1
done
Checking in strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/Bundle.properties;
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/Attic/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.4.6.2; previous revision: 1.4.6.1
done
Checking in strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/StrikeIronWebServiceManager.java;
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/Attic/StrikeIronWebServiceManager.java,v
 <--  StrikeIronWebServiceManager.java
new revision: 1.5.6.2; previous revision: 1.5.6.1
done
Checking in strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/resources/layer.xml;
/cvs/websvc/components/strikeiron/src/org/netbeans/modules/websvc/components/strikeiron/resources/Attic/layer.xml,v  <--
 layer.xml
new revision: 1.3.6.2; previous revision: 1.3.6.1
done