Bug 158102 [Regression]Html visibility effects seems to take no effects to all items
Html visibility effects seems to take no effects to all items Steps to reproduce: 1.new a report 2.add report items and set html visibility to them Expected result: Html visibility should take effects Actual result: No effects were displayed to all items
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
protected HighlightRuleDesign createHighlightRule(
			StructureHandle ruleHandle, String defaultStr )
	{
		HighlightRuleDesign rule = new HighlightRuleDesign( );
		MemberHandle hOperator = ruleHandle
				.getMember( HighlightRule.OPERATOR_MEMBER );
		MemberHandle hValue1 = ruleHandle
				.getMember( HighlightRule.VALUE1_MEMBER );
		MemberHandle hValue2 = ruleHandle
				.getMember( HighlightRule.VALUE2_MEMBER );
		MemberHandle hTestExpr = ruleHandle
				.getMember( HighlightRule.TEST_EXPR_MEMBER );
		String oper = hOperator.getStringValue( );
		String value1 = hValue1.getStringValue( );
		String value2 = hValue2.getStringValue( );
		String testExpr = hTestExpr.getStringValue( );
		rule.setExpression( oper, value1, value2 );
		if ( testExpr != null && testExpr.length( ) > 0 )
		{
			rule.setTestExpression( testExpr );
		}
		else if ( ( defaultStr != null ) && defaultStr.length( ) > 0 )
		{
			rule.setTestExpression( defaultStr );
		}
		else
		{
			
			return null;
		}