Closed (fixed)
Project:
Documentation Generator
Version:
2.0.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Oct 2021 at 05:45 UTC
Updated:
2 Nov 2021 at 14:09 UTC
Jump to comment: Most recent
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()
Install the module and go to Generate Tab. Try to export Docx or PDF file.
Fix the error and also do not allow export if private file system is not set.
Comments
Comment #3
gaurav.kapoor commentedModified the logic to download a private file and fixed other errors in the module.