Bug 415922 TVT/DVT4.3:TCT74: TVT_CN: Extra Mnemonic Key Found
<response_by> Eric Ma at 2013.08.26.22.19.41 </response_by> Build Label: 20130815-1400 Language: S.Chinese/English Steps To Recreate Problem: ****Perform test case 05.000.000 - PREREQUISITE SETUP first before proceeding**** Double-Click Eclipse icon on desktop then Click OK button in Workspace Launcher panel. Click on Window -> Open Perspective -> Report Design Expand the BIRT TVT project in the Navigator Window *********************************************************************************************************************************************************************************************** Double Click on Test_Report_4.rtpdesign on the Navigator Window Click Window -> Show View -> Data Explorer Expand Data Sources > Double click on Data Source_Flat Click Browse > Absolute path > select W:\TVT Test Files\BIRT\data > OK Double click on the chart ( blue frame) Click Select Data tab > click Data binding... Click on the Add Aggregation button Verify the strings highlighted in red in the Expected Results Problem Description: We found an extra mnemonic key which can't be modified by us as it is invoked from other place.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/BindingDialogHelper.java
if ( !strEquals( getDataType( ), binding.getDataType( ) ) )
				return true;
			if ( !expressionEquals( binding.getExpressionProperty( ComputedColumn.EXPRESSION_MEMBER ),
					txtExpression ) )
				return true;
		}
		return false;
	}
	private boolean expressionEquals( ExpressionHandle expressionHandle,
			Text text )
	{
		if ( expressionHandle == null )
		{
			if ( text.getText( ).trim( ).length( ) == 0 )
				return true;
		}
		else
		{
			if ( strEquals( expressionHandle.getStringExpression( ),
					text.getText( ) )
					&& strEquals( expressionHandle.getType( ),
							(String) text.getData( ExpressionButtonUtil.EXPR_TYPE ) ) )
				return true;
		}
		return false;
	}
	private boolean expressionEquals( ExpressionHandle expressionHandle,
			String[] strs )
	{
		if ( expressionHandle == null )