Problem/Motivation

Error when trying to export Docx or PDF file.

LogicException: The content cannot be set on a BinaryFileResponse instance. in Symfony\Component\HttpFoundation\BinaryFileResponse->setContent() 

Steps to reproduce

Install the module and go to Generate Tab. Try to export Docx or PDF file.

Proposed resolution

Fix the error and also do not allow export if private file system is not set.

Comments

gaurav.kapoor created an issue. See original summary.

  • gaurav.kapoor committed 00df32f on 8.x-1.x
    Issue #3243259 by gaurav.kapoor: PDF and Docx file not getting...
gaurav.kapoor’s picture

Status: Active » Fixed

Modified the logic to download a private file and fixed other errors in the module.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.