Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311401

Summary: TVT36:TCT102: CHS: Duplicate Mnemonic
Product: [Tools] Data Tools Reporter: CDE Administration <cdeadmin>
Component: Data Source ExplorerAssignee: Brian Payton <bpayton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bpayton, camle, kitlo
Version: 1.8   
Target Milestone: 1.8   
Hardware: PC   
OS: Windows 7   
URL: 102
Whiteboard:
Attachments:
Description Flags
102_08.000.040_duplicate_mnemonic.gif
none
TCT#102_08.000.040_dup_hotkey.gif
none
102_08.000.040_JPN.gif
none
Patch for plugin o.e.d.connectivity.ui
none
Patch for plugin o.e.d.connectivity.apache.derby.ui none

Description CDE Administration CLA 2010-05-03 14:10:18 EDT
<response_by> Ma Xiao Long at 2010.05.02.21.42.03 </response_by>
NLS Build Label: 20100426-1300-nl1
Language: S.Chinese

-       Steps To Recreate Problem:
1)  Start Eclipse and change the Perspective to Database Development Perspective from Window->Open Perspective->Other?
2)  When the Database Development Perspective opens, verify the Data Source Explorer (DSE) opens.
3)  Click the New Connection Profile button on the toolbar or right-click on a category folder in the DSE and select New? or select New Connection Profile from the DSE view menu.
4)  In the wizard, select one of the available database types. For this test, select Derby.
5)  Put TVTDerby in the Name field and TVTDerby description in the Description field.

6)  Click Next
7)  Verify the text below

-        Problem Description:
We found duplicate mnemonics, and the one for "Connect when the wizard completes" does not work.  Pls help to check, thanks!

<response_by> Lisa Chang at 2010.05.03.03.57.09 </response_by>
Same for CHT

<response_by> rewagner at 2010.05.03.10.34.34 </response_by>
This article was reassigned from Category:''TVT/Testing,Product/Functional Issues''.
Comment 1 CDE Administration CLA 2010-05-03 14:10:28 EDT
Created attachment 166819 [details]
102_08.000.040_duplicate_mnemonic.gif
Comment 2 CDE Administration CLA 2010-05-03 14:10:31 EDT
Created attachment 166820 [details]
TCT#102_08.000.040_dup_hotkey.gif
Comment 3 CDE Administration CLA 2010-05-03 14:10:35 EDT
<cde:tctdetail>
Testcase: 08.000.040 - DTP - NEW CONNECTION PROFILE DRIVERS
Project: WSW36
Component: Xfer - Data Tools/Data Source Explorer
Priority: 2
Subject: CHS: Duplicate Mnemonic
Article ID: 102
Originator: maxl@szchkj.com.cn
</cde:tctdetail>
Comment 4 Brian Fitzpatrick CLA 2010-05-03 15:18:49 EDT
This will be interesting to fix, but we'll see what we can do. The issue is that the controls on the tab are hosted in a different plug-in than the wizard page itself...
Comment 5 CDE Administration CLA 2010-05-03 17:56:39 EDT
<response_by> rewagner at 2010.05.03.16.42.10 </response_by>
Changing status to working
Comment 6 CDE Administration CLA 2010-05-03 21:36:16 EDT
<response_by> Ma Xiao Long at 2010.05.03.20.03.15 </response_by>
lower the priority as it is not a must fix issue.
Comment 7 CDE Administration CLA 2010-05-03 21:36:20 EDT
<cde:tctdetail>
Testcase: 08.000.040 - DTP - NEW CONNECTION PROFILE DRIVERS
Project: WSW36
Component: Xfer - Data Tools/Data Source Explorer
Priority: 3
Subject: CHS: Duplicate Mnemonic
Article ID: 102
Originator: maxl@szchkj.com.cn
</cde:tctdetail>
Comment 8 CDE Administration CLA 2010-05-05 22:31:51 EDT
<response_by> Keiko Terada at 2010.05.05.20.44.29 </response_by>
same for Japanese

S also conflicts between "User name" and "Connect every time the workbench is started".
Comment 9 CDE Administration CLA 2010-05-05 22:31:53 EDT
Created attachment 167259 [details]
102_08.000.040_JPN.gif
Comment 10 Brian Payton CLA 2010-05-12 18:19:05 EDT
Created attachment 168293 [details]
Patch for plugin o.e.d.connectivity.ui
Comment 11 Brian Payton CLA 2010-05-12 18:19:43 EDT
Created attachment 168294 [details]
Patch for plugin o.e.d.connectivity.apache.derby.ui
Comment 12 Brian Payton CLA 2010-05-12 18:33:48 EDT
As Fitz pointed out, the mnemonics on the wizard page come from different plugins.  In the patch I have tweaked the mnemonics in the Derby-specific plugin, which is the center part of the page (that is, the General and Optional tabs) so that they don't conflict with mnemonics defined in the common nw connection wizard.

For reference, here are the common new connection wizard mnemonics.  (I have not changed these.)
  &Drivers
  &Connect when the wizard completes
  Connect every time the workbench is &started
  &Test connection
  &Back
  &Next
  &Finish

Here are the Derby-specific mnemonics which I have changed to avoid conflicts with the common ones and to make a bit more obvious:
  &General  (formerly G&eneral)
  &User name  (formerly U&ser name, conflict with common)
  UR&L  (formerly &URL)
  Cr&eate database  (formely &Create database, conflict with common)
  U&pgrade database to current version  (formerly Up&grade database...)

I did make one minor change in the common new connection wizard mnemonics, which was to remove the mnemonic from the "Properties" label, which is useless.  Removing this mnemonic also allows the "Optional &properties" mnemonic on the Optional tab to work.
Comment 13 Brian Payton CLA 2010-05-12 18:44:13 EDT
Checked in changes, tagged to v201005130645.
Comment 14 CDE Administration CLA 2010-05-21 20:46:34 EDT
<response_by> Ma Xiao Long at 2010.05.21.19.34.37 </response_by>
Fixed in build 20100520-0200-nl1, thanks!