problem with StiWebDesigner1_GetPreviewDataSet

Stimulsoft Reports.WEB discussion
sofiane
Posts: 43
Joined: Fri Jun 17, 2011 8:33 am
Location: france

problem with StiWebDesigner1_GetPreviewDataSet

Post by sofiane »

We are using the 27/10 version.

The filter do not work with second and third level of Business Object.
For example : in my example

Company is an object composed from portfolios
Portfolio is an object composed from projects
Project is an object composed from Tasks

When we apply the filter into tasks type thats not work !


thanks in advance for your response






Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

problem with StiWebDesigner1_GetPreviewDataSet

Post by Alex K. »

Hello,

We are working on the problem. We will let you know about the result.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

problem with StiWebDesigner1_GetPreviewDataSet

Post by Alex K. »

Hello,

We made some improvements in that direction.
Please check the latest build when it will be available.

Thank you.
sofiane
Posts: 43
Joined: Fri Jun 17, 2011 8:33 am
Location: france

problem with StiWebDesigner1_GetPreviewDataSet

Post by sofiane »

The filter do not work when the component has two children.

DataBand1 is master component for DataBand2 and DataBand3

DataBand1 is related to Company.Portfolio.Project

DataBand2 is related to Company.Portfolio.Project.Task
and
DatBand3 is related to Company.Portfolio.Project.Task

DataBand2 and DataBand3 are brother. These two components are children of the same Component DataBand1

When We apply two different filter (Type of task is equal 1 on the first component and equal 2 in the second) on DataBand2 and DataBand3 , thats not work it return the same data.


Thanks in advance for your response

Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

problem with StiWebDesigner1_GetPreviewDataSet

Post by Alex K. »

Hello,

Please send us a report which reproduces the issue for analysis.

Thank you.
sofiane
Posts: 43
Joined: Fri Jun 17, 2011 8:33 am
Location: france

problem with StiWebDesigner1_GetPreviewDataSet

Post by sofiane »

Here the same example

Attachments
1429.Test_Business Object.rar
(633.5 KiB) Downloaded 219 times
sofiane
Posts: 43
Joined: Fri Jun 17, 2011 8:33 am
Location: france

problem with StiWebDesigner1_GetPreviewDataSet

Post by sofiane »

Here Example.

Its to be noted that the filter work when we use one child. In this example the Filter donot work.

Attachments
1434.test_BusinessObject18Novembre.rar
(1.73 MiB) Downloaded 197 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

problem with StiWebDesigner1_GetPreviewDataSet

Post by Alex K. »

Hello,

Thank you for sent files.
We need some additional time for check the issue.

Thank you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

problem with StiWebDesigner1_GetPreviewDataSet

Post by Ivan »

Hello,

Please modify your report: write the following code in the BeginRender event of the DataBand1 component:

Code: Select all

	Portfolio.Projet.Tache.OwnerBand = DataBand1;
and write the following code in the BeginRender event of the Data component:

Code: Select all

	Portfolio.Projet.Tache.OwnerBand = Data;
Also please set the EngineVersion property of the report to EngineV2.

Thank you.
sofiane
Posts: 43
Joined: Fri Jun 17, 2011 8:33 am
Location: france

problem with StiWebDesigner1_GetPreviewDataSet

Post by sofiane »

Hello,

I I currently use StimulsoftReports.Web_2011.3

But when I work with Business Object I have the exception below

This exception appears when we try to associate the first level of business Object to the dataBand.

You can test that with the file above : test_BusinessObject18Novembre.rar

ReferenceError: Error #1065: the variable * is not defined.

at global/flash.utils::getDefinitionByName()
at stimulsoft.flex.serialize::StiClassProperty/set typeName()
at stimulsoft.flex.serialize::StiSerializeCache$/fillProperties()
at stimulsoft.flex.serialize::StiSerializeCache$/getClassSchema()
at stimulsoft.controls.propertyGrid.model::StiSchemeHelper$/getClassesScheme()
at stimulsoft.controls.propertyGrid.model::StiSchemeHelper$/getObjectsSchemePrivate()
at stimulsoft.controls.propertyGrid.model::StiSchemeHelper$/getObjectsSchemePrivate()
at stimulsoft.controls.propertyGrid.model::StiSchemeHelper$/getObjectsSchemePrivate()
at stimulsoft.controls.propertyGrid.model::StiSchemeHelper$/getObjectsSchemePrivate()
at stimulsoft.controls.propertyGrid.model::StiSchemeHelper$/getObjectsSchemePrivate()
at stimulsoft.controls.propertyGrid.model::StiSchemeHelper$/getObjectsScheme()
at stimulsoft.controls.propertyGrid.model::StiAdapter/create()
at stimulsoft.controls.propertyGrid::StiPropertyGrid/set objects()
at stimulsoft.report.design::StiDesignerFx/onComponentsSelectionChange()
at stimulsoft.report.design.actions::StiSelectedComponentsActions/changeComponentsSelection()
at stimulsoft.report.design.tools::StiSelectToolService/onMouseDown()
at stimulsoft.controls_old.visual::StiSelectionLayer/onMouseDown()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.managers::SystemManager/mouseEventHandler()



, PLease Help

Post Reply