SynchronizeBusinessObjects();

Stimulsoft Reports.WEB discussion
ChrisHolland
Posts: 45
Joined: Tue May 21, 2019 1:44 pm

SynchronizeBusinessObjects();

Post by ChrisHolland »

If I increase the levels for Report.Dictionary.SynchronizeBusinessObjects(7) and set the level to be more than 7 the report designer becomes very slow and stops responding.

Also, I have an object of recursive items like this:

class Item
{
string Description { get; set; }
}

class Section
{
string Name { get; set;}
Collection<Item> ItemList { get; set; }
Collection<Section> SectionList { get; set; }
}

and when I look at the data within the report designer it goes wrong after a few levels (see attached screenshot)
After 3 levels of "SectionList" it just shows one line saying "Item" instead of the expected ItemList and SectionList
Attachments
PrtScr capture.jpg
PrtScr capture.jpg (37.07 KiB) Viewed 17919 times
ChrisHolland
Posts: 45
Joined: Tue May 21, 2019 1:44 pm

Re: SynchronizeBusinessObjects();

Post by ChrisHolland »

I have created a small test project that can demonstrate this here:

http://cypher1.co.uk/download/test.zip
ChrisHolland
Posts: 45
Joined: Tue May 21, 2019 1:44 pm

Re: SynchronizeBusinessObjects();

Post by ChrisHolland »

If I remove the MaxLevels parameter from the Report.Dictionary.SynchronizeBusinessObjects() what difference should this make?

Removing the parameter appears to go to no nested levels i.e. the SectionList (and ItemList) fields disappear altogether.
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: SynchronizeBusinessObjects();

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
ChrisHolland
Posts: 45
Joined: Tue May 21, 2019 1:44 pm

Re: SynchronizeBusinessObjects();

Post by ChrisHolland »

Is there any news on this yet as this is preventing me from creating reports within my program as I need more levels but the program stops responding if I set SynchronizeBusinessObjects(6) to a value of more than 6?
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: SynchronizeBusinessObjects();

Post by Lech Kulikowski »

Hello,

We work hard on this problem and do our best to do it as fast as possible. We will let you know when the solution is available.

Thank you.
ChrisHolland
Posts: 45
Joined: Tue May 21, 2019 1:44 pm

Re: SynchronizeBusinessObjects();

Post by ChrisHolland »

Hi,

I reported this problem back in December last year and I still haven't had a solution yet.

We were due to release our software in January this year but have had to hold off as the reporting does not work.

My Managing Director has been chasing me for this for months now so I really need a solution to this ASAP.

Thanks
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: SynchronizeBusinessObjects();

Post by Lech Kulikowski »

Hello,

Please send us your request with a detailed description on support@stimulsoft.com.

Thank you.
ChrisHolland
Posts: 45
Joined: Tue May 21, 2019 1:44 pm

Re: SynchronizeBusinessObjects();

Post by ChrisHolland »

I have sent the example program via email.
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: SynchronizeBusinessObjects();

Post by Andrew »

Thank you!
Post Reply