Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Export custom reports doesn't work #782

Closed
Yivan opened this issue Aug 2, 2016 · 1 comment
Closed

Bug: Export custom reports doesn't work #782

Yivan opened this issue Aug 2, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@Yivan
Copy link
Contributor

Yivan commented Aug 2, 2016

On the online demo website:

  • create a custom reports from SQL adapter: "SELECT * FROM objects" (reports as list)
  • save it

Trying to display the report send a fatal error:

Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /home/pimcore_demo/www/pimcore/modules/reports/controllers/CustomReportController.php:254 Stack trace: #0 /home/pimcore_demo/www/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): Reports_CustomReportController->downloadCsvAction() #1 /home/pimcore_demo/www/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('downloadCsvActi...') #2 /home/pimcore_demo/www/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #3 /home/pimcore_demo/www/pimcore/lib/Pimcore.php(257): Zend_Controller_Front->dispatch() #4 /home/pimcore_demo/www/index.php(18): Pimcore::run() #5 {main} thrown in /home/pimcore_demo/www/pimcore/modules/reports/controllers/CustomReportController.php on line 254

Thanks.

@mrudnicki mrudnicki added the Bug label Aug 2, 2016
@mrudnicki mrudnicki self-assigned this Aug 2, 2016
@mrudnicki
Copy link

Thank you, I've fixed it in b5f7213

@mrudnicki mrudnicki added this to the 4.2.1 milestone Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants