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 117209 - I18N - duplicate key in same bundle file
Summary: I18N - duplicate key in same bundle file
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-01 07:09 UTC by Ashizawa Kazunori
Modified: 2008-11-03 20:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashizawa Kazunori 2007-10-01 07:09:33 UTC
The same key appears multiple times in a bundle file.  If each
messages should be different or should be used independently,
then each messages should have different keys.  If the message
is used at a single place, then multiple occurrences should be
unified.

This duplication means that it's not known at runtime which
message will be used.  This issue also increases translation
cost (time and effort).

enterprise/bpel/bpelapi/src/org/netbeans/modules/bpel/model/xam/Bundle.properties:
LBL_correlation=correlation
LBL_correlation=correlation
LBL_correlations=correlations
LBL_correlations=correlations
LBL_onAlarm=onAlarm
LBL_onAlarm=onAlarm
enterprise/bpel/editorsapi/src/org/netbeans/modules/bpel/editors/api/nodes/Bundle.properties:
CATCH=Catch
CATCH=Catch
CATCH_ALL=Catch All
CATCH_ALL=Catch All
enterprise/bpel/search/src/org/netbeans/modules/bpel/search/impl/action/Bundle.properties:
Documentation=Documentation
Documentation=Documentation
Documentation=Documentation
Import=Import
Import=Import
Import=Import
Sequence=Sequence
Sequence=Sequence
enterprise/bpel/xpath/src/org/netbeans/modules/bpel/xpath/view/expression/impl/Bundle.properties:
BPBooleanMapper_MAP_RESULT_INTO_NODE=Map final result into this node
BPBooleanMapper_MAP_RESULT_INTO_NODE=Map final result into this node
BPBooleanMapper_RESULT=Result
BPBooleanMapper_RESULT=Result
BpelDeadlineMapper_DEADLINE=Deadline
BpelDeadlineMapper_DEADLINE=Deadline
BpelDeadlineMapper_MAP_RESULT_INTO_NODE=Map final result into this node
BpelDeadlineMapper_MAP_RESULT_INTO_NODE=Map final result into this node
BpelDurationMapper_DURATION=Duration
BpelDurationMapper_DURATION=Duration
BpelDurationMapper_MAP_RESULT_INTO_NODE=Map final result into this node
BpelDurationMapper_MAP_RESULT_INTO_NODE=Map final result into this node
enterprise/bpel/xpath/src/org/netbeans/modules/bpel/xpath/view/palette/Bundle.properties:
A11yDesc_String_format-number=Format Number
A11yDesc_String_format-number=Format Number
A11yName_String_format-number=Format Number
A11yName_String_format-number=Format Number
LBL_String_format-number=Format Number
LBL_String_format-number=Format Number
enterprise/compapp/projectjbi/src/org/netbeans/modules/compapp/projects/jbi/ui/wizards/Bundle.properties:
ACS_LBL_NWP1_SetAsMain_A11YDesc=Set as Main Project
ACS_LBL_NWP1_SetAsMain_A11YDesc=Set as Main Project
enterprise/xslt/mapper/src/org/netbeans/modules/xslt/mapper/palette/Bundle.properties:
A11yDesc_String_format-number=Format Number
A11yDesc_String_format-number=Format Number
A11yName_String_format-number=Format Number
A11yName_String_format-number=Format Number
LBL_String_format-number=Format Number
LBL_String_format-number=Format Number
enterprise/xslt/project/src/org/netbeans/modules/xslt/project/wizard/Bundle.properties:
ACS_LBL_NWP1_SetAsMain_A11YDesc=Set as Main Project
ACS_LBL_NWP1_SetAsMain_A11YDesc=Set as Main Project
LBL_NWP1_SetAsMain_CheckBox=Set as &Main Project
LBL_NWP1_SetAsMain_CheckBox=Set as Main Project
Comment 1 Sergey Lunegov 2007-10-01 10:35:27 UTC
Vladimir, please fix it.
Comment 2 Andrei Chistiakov 2008-01-17 11:10:25 UTC
Changed target milestone from Sierra to 6.1 in order to display correct info on
NB 6.1 dashboard
Comment 3 Vladimir Yaroslavskiy 2008-03-19 14:26:53 UTC
fixed: 201c22a25e5c
Comment 4 ggenipudi 2008-10-21 15:38:15 UTC
please provide steps to verify.
Comment 5 Vladimir Yaroslavskiy 2008-10-22 07:43:35 UTC
Why did you reopen the issue? Did you find the way to reproduce it? The fix has been integrated, so the status must be
FIXED, not REOPENED.

You should check out the sources and verify that there are no duplicate keys in bundle files.
Comment 6 Vladimir Yaroslavskiy 2008-10-31 09:26:11 UTC
enterprise/bpel/bpelapi -> bpel.model
enterprise/bpel/editorsapi -> bpel.editors.api
enterprise/bpel/search -> xml.search01
enterprise/bpel/xpath -> deleted at all
enterprise/compapp/projectjbi -> compapp.projects.jbi
enterprise/xslt/mapper -> xslt.mapper
enterprise/xslt/project -> xslt.project
Comment 7 ggenipudi 2008-11-03 20:44:31 UTC
tested and verified using latest build and did not se duplicate entries in bundle.properties.