DataExport::processBatch() uses Xlsx when it should use Xls

Created on 23 September 2024, 4 months ago

Problem/Motivation

When exporting an 'xls' file with batch, a workaround rewrites the file with the Xlsx class rather than Xls.

Steps to reproduce

Create an 'xls' view export and set the batch size lower than the number of results to be exported. The file will be saved with a '.xls' file extension but created through the Xlsx class as that file type.

Proposed resolution

Use IoFactory::createWriter(), as is used elsewhere, rather than hard-coding the class type.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024