Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: unlink error with newer versions of symfony/http-foundation #4259

Open
1 task done
from-space opened this issue Jan 17, 2025 · 1 comment
Open
1 task done
Labels

Comments

@from-space
Copy link

Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?

  • Yes, it's still reproducable

What version of Laravel Excel are you using?

3.1.62

What version of Laravel are you using?

11.38.2

What version of PHP are you using?

8.3

Describe your issue

Using Excel::download in a mostly blank Laravel project on a Homestead VM creates a file in /storage/framework/cache/laravel-excel and an error in the laravel.log that states:

text file is busy at ... /home/vagrant/code/ucp-readers-2025/vendor/symfony/http-foundation/BinaryFileResponse.php:352.

This is on symfony/http-foundation v7.2.2. Download works correctly with no errors when I downgrade http-foundation to v7.0.7.

How can the issue be reproduced?

Not 100% sure if there's something unique to my environment, but try using Excel::download with symfony/http-foundation v7.2.2 installed.

What should be the expected behaviour?

File should download without error, as it does with earlier versions of http-foundation.

@from-space from-space added the bug label Jan 17, 2025
@patrickbrouwers
Copy link
Member

Please validate if you have the same issue when downloading with Laravel as we just use their code for it. If you also have the error there, please report it at Laravel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants