Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 268487 - The paramter is not displayed correctly when its default value list is set as an array.
Summary: The paramter is not displayed correctly when its default value list is set as...
Status: VERIFIED DUPLICATE of bug 267323
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.5.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportViewer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 03:37 EDT by Maggie Shen CLA
Modified: 2009-03-17 02:46 EDT (History)
2 users (show)

See Also:


Attachments
screenshot (35.56 KB, image/pjpeg)
2009-03-13 03:37 EDT, Maggie Shen CLA
no flags Details
test report (3.82 KB, application/octet-stream)
2009-03-13 03:38 EDT, Maggie Shen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maggie Shen CLA 2009-03-13 03:37:21 EDT
Created attachment 128668 [details]
screenshot

description:
The paramter is not displayed correctly when its default value list is set as an array.

build id:
2.5.0 v20090313-0630

steps to reproduce:
1. New a String type parameter, select Display Type as List Box.
2. Add three static value "a","b","c" and allow Multiple Values. 
3. Iput an array in its getDefaultValueList.eg. new Array("a","b")
4. Preview.

Actual result:
See attached screenshot.

Expected result:
"a","b","c" are in the list box, "a" and "b" are selected as default values.
Comment 1 Maggie Shen CLA 2009-03-13 03:38:06 EDT
Created attachment 128669 [details]
test report
Comment 2 Gang Liu CLA 2009-03-13 03:49:04 EDT
Please check if it is a bug of engine.
Comment 3 Haojun Chu CLA 2009-03-16 01:36:38 EDT
The default value is an instance of Object[] if getDefaultValueList() returns multiple values. Reassign to Viewer to display this kind of data.
Comment 4 Zhiqiang Qian CLA 2009-03-16 03:53:42 EDT

*** This bug has been marked as a duplicate of bug 267323 ***
Comment 5 Maggie Shen CLA 2009-03-17 02:46:14 EDT
verified.