Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Unable to export PDFs in Sales App #7450

Open
KonstiSchw opened this issue Mar 26, 2023 · 0 comments
Open

Unable to export PDFs in Sales App #7450

KonstiSchw opened this issue Mar 26, 2023 · 0 comments

Comments

@KonstiSchw
Copy link

Issue Description

When attempting to export PDF files in the Sales App, the process fails with the following error message:

ERR (3): Tinebase_Exception::logExceptionToLogger::133 TypeError -> Argument 1 passed to Sales_Export_DocumentPdf::__construct() must be an instance of Tinebase_Model_Filter_FilterGroup or null, array given, called in /var/www/html/tine20/Tinebase/Export.php on line 76
0428ac - admin - 2023-03-26T12:43:03+00:00 ERR (3): Tinebase_Exception::logExceptionToLogger::155 #0 .../Tinebase/Export.php(76): Sales_Export_DocumentPdf->__construct()
#1 .../Tinebase/Frontend/Http/Abstract.php(39): Tinebase_Export::factory()
#2 .../Tinebase/Frontend/Http/Abstract.php(421): Tinebase_Frontend_Http_Abstract->_export()
#3 .../Tinebase/Http/Server.php(151): Tinebase_Frontend_Http_Abstract->__call()
#4 .../Tinebase/Server/Http.php(109): Tinebase_Http_Server->handle()
#5 .../Tinebase/Core.php(271): Tinebase_Server_Http->handle()
#6 .../index.php(24): Tinebase_Core::dispatchRequest()
#7 {main}
0428ac - admin - 2023-03-26T12:43:03+00:00 DEBUG (7): Tinebase_Server_Http::handle::140 Server error during download/export - exit with 500

Steps to Reproduce

  1. Open the Sales App
  2. Navigate to the any tab
  3. Select Export as
  4. Select "PDF" as the file format
  5. Click the "Export" button
  6. Select "Download" or "Save to files"

Expected Behavior

The PDF file should be successfully exported.

Actual Behavior

The export process fails with the error message displayed above.

Environment Information

  • OS: Ubuntu 22.04
  • Tine2.0 Version: 2023.02.04.50 (Latest)

Additional Information

  • Exporting to Excel format works without any issues.
  • The error occurs consistently every time PDF export is attempted.
  • Exporting to pdf works in any other app completely fine
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant