cta-k12 / jasperreportbundle Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi,
I'm really interestedin contributing to your project developing new features. Please let me know if you need some help with that.
Best Regards!
I followed all of the setup options and I'm stuck at the following error.
When trying to call:
$this->container->get('mesd.jasper.report.client')->getResourceList();
Symfony Error returned:
Call to undefined method JasperClient\Client\Client::addPostReportExecutionCallback() in /Users/blank/Documents/GIT/SL/Admin/pl/vendor/mesd/jasper-report-bundle/Mesd/Jasper/ReportBundle/Services/ClientService.php line 255
In the output of the cache for jasper_resource_list I see lists generated with the correct resources. This never gets returned to my script request for the resources. I always get an empty array.
I get the following error when trying to install via composer:
[UnexpectedValueException]
Could not parse version constraint 1.0.0-alpha+001: Invalid version string
"1.0.0-alpha+001"
Using Composer version 31eadc6920cd1866bc061fb0087798c37e2b7d14 2014-09-25 17:49:51
Please advise.
Hi,
It's imposible for me to install the table jasperreport_report_history
This is the error:
[Doctrine\DBAL\Exception\DriverException]
An exception occurred while executing 'CREATE TABLE jasperreport_report_history (id INT AUTO_INCREMENT NOT NULL, date DATETIME NOT NULL, parameters LONGTEXT DEFAULT NULL, requestId LONGTEX
T NOT NULL, report_uri LONGTEXT NOT NULL, username LONGTEXT NOT NULL, status LONGTEXT NOT NULL, formats LONGTEXT NOT NULL, UNIQUE INDEX UNIQ_79FD097CA1637001 (requestId), PRIMARY KEY(id))
DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB':
SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'requestId' used in key specification without a key length
Someone else had this error in July 2016 and had no answer:
http://es.stackoverflow.com/questions/8785/c%C3%B3mo-emplear-jasper-report-en-symfony-2
Vincent
Symfony error:
FatalErrorException: Parse: syntax error, unexpected '[' in C:\PL\Admin\playerlync\vendor\mesd\jasper-report-bundle\Mesd\Jasper\ReportBundle\Services\ClientService.php line 274
When = [] is taken out, the script then fails on the next spot where $options = [] is found in the function variables. This isn't the case on other environments but on a Windows host I get this error on both IIS and Apache.
Following your documentation I received an error when I used $rb->runReport().
Internal Server Error on POST request (/jasperserver/rest_v2/reportExecutions)
$rb object:
object(JasperClient\Client\ReportBuilder)[8441]
private 'client' =>
object(JasperClient\Client\Client)[8359]
private 'host' => string 'localhost:8080' (length=14)
private 'user' => string 'jasperadmin' (length=11)
private 'pass' => string 'jasperadmin' (length=11)
private 'rest' =>
object(JasperClient\Client\RestHandler)[8373]
private 'host' => string 'localhost:8080' (length=14)
private 'ssl' => boolean false
private 'jSessionID' => string '296635F080F04C0443FD021141F828F5' (length=32)
private 'postExecutionCallbacks' =>
array (size=1)
0 =>
object(Mesd\Jasper\ReportBundle\Callbacks\PostReportExecution)[8374]
...
private 'postCacheCallbacks' =>
array (size=1)
0 =>
object(Mesd\Jasper\ReportBundle\Callbacks\PostReportCache)[8375]
...
private 'reportUri' => string 'reports/deviceReports/usageReportInteractive' (length=44)
private 'getICFrom' => string 'Fallback' (length=8)
private 'reportInputControl' =>
array (size=2)
0 =>
object(Mesd\Jasper\ReportBundle\InputControl\SingleValueDate)[8548]
protected 'defaultValue' =>
object(SimpleXMLElement)[8549]
...
protected 'optionHandler' =>
object(Playerlync\AdminBundle\Helpers\ReportsOptionsHandler)[8376]
...
protected 'id' => string 'startDate' (length=9)
protected 'label' => string 'Start Date' (length=10)
protected 'mandatory' => string 'false' (length=5)
protected 'readOnly' => string 'false' (length=5)
protected 'state' =>
object(SimpleXMLElement)[8496]
...
protected 'type' => string 'singleValueDate' (length=15)
protected 'uri' => string 'repo:/datatypes/startDate' (length=25)
protected 'visible' => string 'true' (length=4)
protected 'getICFrom' => string 'Fallback' (length=8)
1 =>
object(Mesd\Jasper\ReportBundle\InputControl\SingleValueDate)[8540]
protected 'defaultValue' =>
object(SimpleXMLElement)[8506]
...
protected 'optionHandler' =>
object(Pl\ABundle\Helpers\ReportsOptionsHandler)[8376]
...
protected 'id' => string 'endDate' (length=7)
protected 'label' => string 'End Date' (length=8)
protected 'mandatory' => string 'false' (length=5)
protected 'readOnly' => string 'false' (length=5)
protected 'state' =>
object(SimpleXMLElement)[8552]
...
protected 'type' => string 'singleValueDate' (length=15)
protected 'uri' => string 'repo:/datatypes/endDate' (length=23)
protected 'visible' => string 'true' (length=4)
protected 'getICFrom' => string 'Fallback' (length=8)
private 'hasMandatoryInput' => boolean false
private 'params' =>
array (size=2)
'startDate' =>
array (size=1)
0 => string '2013-10-29' (length=10)
'endDate' =>
array (size=1)
0 => string '2014-10-29' (length=10)
private 'format' => null
private 'assetUrl' => null
private 'page' => null
private 'pageRange' => null
private 'inputControlFactory' =>
object(Mesd\Jasper\ReportBundle\Factories\InputControlFactory)[8422]
private 'getICFrom' => string 'Fallback' (length=8)
private 'optionsHandler' =>
object(Pl\ABundle\Helpers\ReportsOptionsHandler)[8376]
protected 'functionMap' =>
array (size=0)
...
private 'inputControlTypeNamespace' => string 'Mesd\Jasper\ReportBundle\InputControl' (length=38)
private 'reportCache' => string '../report-store/reports/' (length=24)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.