Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314084 - [Regression] Can not close hyperlink dialog by click OK button in chart builder.[13]
Summary: [Regression] Can not close hyperlink dialog by click OK button in chart build...
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC2   Edit
Assignee: Xingsheng Zhu CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 05:42 EDT by Maggie Shen CLA
Modified: 2010-05-25 05:37 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maggie Shen CLA 2010-05-24 05:42:35 EDT
description:
Can not close hyperlink dialog by click OK button in chart builder.

build id:
2.6.0 v20100524-0630

steps to reproduce:
1. New a chart.
2. Add a hyperlink interactivity to it.

Actual result:
Can not close the hyperlink dialog by click OK.
Comment 1 Xingsheng Zhu CLA 2010-05-24 06:09:41 EDT
Exception stacktrace:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.eclipse.birt.report.model.core.Structure
at org.eclipse.birt.report.model.command.AbstractPropertyCommand.makeLocalCompositeValue(AbstractPropertyCommand.java:487)
at org.eclipse.birt.report.model.command.PropertyCommand.setMember(PropertyCommand.java:1051)
at org.eclipse.birt.report.model.api.MemberHandle.setValue(MemberHandle.java:98)
at org.eclipse.birt.report.model.api.StructureHandle.setProperty(StructureHandle.java:287)
at org.eclipse.birt.report.model.api.StructureHandle.setExpressionProperty(StructureHandle.java:469)
at org.eclipse.birt.report.designer.ui.dialogs.HyperlinkBuilder.setURI(HyperlinkBuilder.java:1266)
at org.eclipse.birt.report.designer.ui.dialogs.HyperlinkBuilder.okPressed(HyperlinkBuilder.java:1292)

Reassign to model for further investigation.
Comment 2 Xuelan Li CLA 2010-05-24 23:39:20 EDT
Chart should change the attribute 'isList' to TRUE for property 'action' in plugin.xml. For model changes all the action property in label, image and data to support multiple hyperlinks to fix 265391.
Comment 3 Xingsheng Zhu CLA 2010-05-24 23:51:23 EDT
Fixed. Change action property type to list on report item model.
Comment 4 Maggie Shen CLA 2010-05-25 05:37:47 EDT
verified on build 2.6.0 v20100525-1629. OK button is not enabled if hyperlink is not defined.