GithubHelp home page GithubHelp logo

cta-k12 / jasperreportviewerbundle Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 227 KB

A viewer extension to the MESD/JasperReportBundle

License: MIT License

PHP 29.85% CSS 26.69% JavaScript 29.10% HTML 14.36%

jasperreportviewerbundle's People

Contributors

lighthart avatar oforralmesdk12orus avatar tyhand avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jasperreportviewerbundle's Issues

Report History DataTables Error

Thanks, to begin, for providing this! I'm learning quite a bit about Jasper Reports and Symfony.

Using Symfony 2.4.7 and this bundle, I'm attempting to set up a connection to a JasperReports server sample reports. The Report Viewer history page has the following error when I connect:

datatableserror

Line 66 of the HistoryService class has the following local variable:

//Set the entity manager to default $entityManager = 'default';

But that variable isn't used, and the property $this->entityManager isn't set. When I look at the AJAX, the link has the following error:

Unknown Entity namespace alias 'MesdJasperReportBundle' so when I added that to the main app/config/config.yml (shouldn't the Bundle add that?) I get another error: "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'j0_.report_uri' in 'field list'"

I changed the format of the name of the column reportUri to match reportId in the ReportHistory.orm.yml to match the database table I created. Now the history is working.

Maybe this issue should be filed in the Jasper Report Bundle? Please advise.

Error on link to report from reportviewer

Clicking on a link in the list of resources on the reportviewer page brings up an error.

No route found for "GET /reportviewer/display/%2Freports%2FAllAccounts" (from "http://localhost/web/app_dev.php/reportviewer/")

Symfony 2.4.7 and JasperReports Product Version: 5.6.1 Build: 20140914_2356 the "AllAccounts" report is one of the sample reports installed with the server. I was able to fix it by changing the linkHandler in the client (removing "reports"), and the route definition in the JasperReportViewerBundle to include the "reports" default folder name from the JasperServer MesdJasperReportViewerBundle_display_report_viewer: pattern: /display/reports/{reportUri}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.