KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Chromeheadless Hangs if Landscape option set incorrectly #2422

Open Alex Chartier opened this topic on on Nov 5, 2021 - 2 comments

Alex Chartier commented on Nov 5, 2021

Had a situation where one of my team was complaining that their pdf output report was hanging. Turns out they had landscape = > 1 instead of landscape => true in the pdf options.

I mention this in case someone else runs into the same issue. Might be something to correct in chromehealess.

KoolReport commented on Nov 6, 2021

Thank you very much for your discovery. I have told dev.team to wider range of input value accepting both number and boolean. This kind of issue could be avoidable and save time for developer.

Sebastian Morales commented on Nov 8, 2021

Alex, thanks a lot for your valuable feedback. We will try to type cast the landscape option so that 1 and other true values can work beside true boolean value.

Nevertheless, since there might be too many other parameters to cover all of their cases we will add more details in response's error message so that users get an idea if something goes wrong to adjust their parameters.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
suggestion

None