Allow Html and Can Break make stimulsoft crash

Stimulsoft Reports.PHP discussion
Post Reply
daryof
Posts: 4
Joined: Mon Apr 04, 2011 9:04 am

Allow Html and Can Break make stimulsoft crash

Post by daryof »

Hello,

I'm using Stimulsoft Reports.Fx for PHP version 2012.1.1215 from 2012.03.07

I have a report with mysql datasource, my fields have html tags inside.
If a field has to be broken in two pages even in preview i can see only a bar "Compiling report"...after a while DesignerFx crashes,

In production even the browser have to be closed.

In the textfield i have "Allow Html= true", if i put it to false the report is viewed correctly.
As a temporary solution (The report as i said is used in a production environment) i modified
file "database_mysql.php" in function "sti_mysql_get_data()" before row $value = str_replace("&", "&", $value); approsimately at row 236
i have inserted a row to strip html tags: "$value = strip_tags($value);"

I attach my report and a script for creation of the entire database (Structure and Data...only two tables...).
Attachments

[The extension sql has been deactivated and can no longer be displayed.]

1762.Example_stimulsoft.mrt
(12.14 KiB) Downloaded 232 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Allow Html and Can Break make stimulsoft crash

Post by HighAley »

Hello.

Sorry for the delay with response. We need some additional time to prepare the answer for you.

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Allow Html and Can Break make stimulsoft crash

Post by Vladimir »

Hello,

We have reproduced the error: it occurs due to incorrect work of the function of division the text component into a few pages, if HTML tags are used. The function does not consider them. We need some time to fix this error. At this moment you can disable it setting the CanBreak property of the component DataBand1 to False.

Thank you.
Post Reply