Skip to content

An error occurred when creating an Excel file. #434

@a54758398

Description

@a54758398

Is your feature request related to a problem? Please describe.
An error occurred when creating an Excel file after enabling the files_antivirus application.

When creating a new TXT file, the wrapStream method is called and the file is created correctly; however, when creating an Excel file, the file_put_contents method is called and the file is not created correctly.

This may be due to the added file_put_contents method lacking a Try-Catch statement.

Image

Nextcloud version:31.0.2.
onlyoffice app version:9.7.0.
files_antivirus app version:6.0.0.

Describe the solution you'd like
Can correctly create new Excel, Word, and PowerPoint files.

Describe alternatives you've considered
No response.

Additional context
No response.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions