pimcore / advanced-object-search

Advanced Object Search community bundle provides advanced object search in Pimcore backend powered by OpenSearch.
Other
39 stars 44 forks source link

[Bug]: CSV and XLSX exports results in error #272

Closed torqdev closed 1 month ago

torqdev commented 1 month ago

Expected behavior

When viewing results data in Advanced Object Search, users should be able to export the data to a CSV or XLSX file.

Actual behavior

Clicking CSV or XLSX export options an error is thrown warning the fields are not the correct type.

Status: 500 | Internal Server Error
URL: /admin/object-helper/do-export
Method: POST
Message: Pimcore\Model\DataObject\Service::getCsvData(): Argument #4 ($fields) must be of type array, null given, called in /var/www/html/vendor/pimcore/admin-ui-classic-bundle/src/Controller/Admin/DataObject/DataObjectHelperController.php on line 1281

Steps to reproduce

View results in advanced object search, and click either CSV or XLSX export button.

torqdev commented 1 month ago

Closing as issue has been fixed but not released yet in the 6.x branch.