sohelamin / crud-generator

Laravel CRUD Generator
https://packagist.org/packages/appzcoder/crud-generator
MIT License
1.41k stars 426 forks source link

FIXED : Report breaks when Parameter value contains comma or special character that can break commandline #251

Closed kevindaus closed 2 years ago

kevindaus commented 5 years ago

I just want to add this for future reference for all those who are planning to use this library and gets this error.

How to replicate : Using JasperReport Studio

  1. Create a report
  2. Create multiple parameter field
  3. Drag it to "details" area
  4. Compile to jasper file

Then create a php script that processes the jasper file.Pass a parameter value with comma(",")

Output : The first parameter field value will render fine but the rest of the values of the parameters will show null.

Solution : Remove the comma( "," ) string in your parameter value

jasper_report_studio

commandline output

null

After removing the "," working