Page 1 of 2

Image bug html5

Posted: Tue Sep 13, 2016 5:04 am
by terje.pedersen
In preview (HTML version) its working aswell as in PDF version but not in the HTML5 version. We have an image inside a pagefooterband and nothing is displayed in the HTML5 version when we have the image on the page.

Re: Image bug html5

Posted: Tue Sep 13, 2016 8:43 am
by HighAley
Hello.

Could you specify which version of our product you use?
Please, try our latest build.
If you still have an issue, please, send us a sample that will help us to reproduce and solve the issue.

Thank you.

Re: Image bug html5

Posted: Tue Sep 13, 2016 10:12 am
by terje.pedersen
I'm using the latest build JS_2016.08.26

Re: Image bug html5

Posted: Wed Sep 14, 2016 6:45 am
by Alex K.
Hello,

Please, send us a sample that will help us to reproduce and solve the issue.

Thank you.

Re: Image bug html5

Posted: Wed Sep 14, 2016 10:13 am
by terje.pedersen
Looking in the browser running with html5 flag we get the following when having a mrt with just one image as attached.
TypeError: Cannot read property 'toString' of null
at Function.Ct.writeImage (:3000/stimulsoft.reports.js:265)
at Function.Ct.writeDocument (:3000/stimulsoft.reports.js:265)
at Function.Ct.saveToString (:3000/stimulsoft.reports.js:266)
at a.renderPage (:3000/stimulsoft.reports.js:267)
at a.exportHtml (:3000/stimulsoft.reports.js:267)
at J.exportTo (:3000/stimulsoft.reports.js:267)
at StimulsoftReportWrapper.showReport (app.bundle.js:9783)
at ReportDefinitionService.onDataFetched (app.bundle.js:9970)
at t._next (app.bundle.js:9961)
at t.__tryOrUnsub (vendors.bundle.js:11839)

Re: Image bug html5

Posted: Wed Sep 14, 2016 12:05 pm
by HighAley
Hello.

Sorry, we can't reproduce your issue on our side.
Could you send us a sample site that will help us to reproduce the issue.

Thank you.

Re: Image bug html5

Posted: Thu Sep 15, 2016 8:28 am
by terje.pedersen
You have runned it with settings.htmlType = Stimulsoft.Report.StiHtmlType.Html5?

Re: Image bug html5

Posted: Fri Sep 16, 2016 8:43 am
by HighAley
Hello.

Yes, but we still could not reproduce the issue.
Maybe we missed something.
Could you send us a sample site that will help us to reproduce the issue.

Thank you.

Re: Image bug html5

Posted: Thu Nov 10, 2016 7:17 am
by terje.pedersen
This bug is still a showstopper for us. I have tried now with the latest JS_2016.11.04 it works with PDF and HTML but when I use settings.htmlType = Stimulsoft.Report.StiHtmlType.Html5 its not working anymore.

Code: Select all

TypeError: Cannot read property 'toString' of null
    at Function.Ct.writeImage (stimulsoft.reports.js:268)
    at Function.Ct.writeDocument (stimulsoft.reports.js:268)
    at Function.Ct.saveToString (stimulsoft.reports.js:269)
    at s.renderPage (stimulsoft.reports.js:269)
    at s.exportHtml (stimulsoft.reports.js:270)
    at z.exportTo (stimulsoft.reports.js:270)

Re: Image bug html5

Posted: Thu Nov 10, 2016 7:41 am
by terje.pedersen
I have tried with several types of images, different kind of urls (Image Url), directly (Image) but the same result.