Page 1 of 1

Allow Html and Can Break make stimulsoft crash

Posted: Tue Apr 03, 2012 3:32 pm
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...).

Allow Html and Can Break make stimulsoft crash

Posted: Fri Apr 06, 2012 11:05 am
by HighAley
Hello.

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

Thank you.

Allow Html and Can Break make stimulsoft crash

Posted: Mon Apr 09, 2012 8:54 am
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.