Project: Birt
Bug 282501 getSelectionListType( ) returns wrong value if the selection list is empty [0705]
Reported: 2009-07-06 05:51:42 | Status: closed fixed

Description: getSelectionListType( ) returns wrong value if the selection list is empty. Build number: 2.5.1.v20090706-0630 Steps to reproduce: 1. New parameter group with a report parameter "a", set Display type as "List Box". 2. Call (IScalarParameterDefn) params.getSelectionListType( ); Expected result: 2 is returned. Actual result: 0 is returned. Error log: N/A

Files changed in fix:
testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/IGetParameterDefinitionTaskTest.java