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
[Form] InvalidArgumentException: unlink(/tmp/sf_micro_kernel): Is a directory #18512
Comments
I investigated this exception, so did @xabbuh, and we don't know were this exception comes from... The stack trace suggests |
Looking at it again: if (@(unlink($file) || rmdir($file))) { What if this becomes: if (@unlink($file) || @rmdir($file)) { Maybe the real issue is that the silencing is broken here? |
@iltar I thought about that too. But why does it only fail on the |
For me this only fails in 5.5 on travis, I assume this is related to not being able to get the latest version of something edit: https://travis-ci.org/symfony/symfony/builds/122450786 |
And if we use the proper |
…ekas) This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #18515). Discussion ---------- [Filesystem] Better error handling in remove() | Q | A | ------------- | --- | Branch? | master (to be moved on 2.3 when merging) | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #18512 | License | MIT | Doc PR | - Commits ------- b848ddb [Filesystem] Better error handling in remove()
If anyone’s interested, I encountered this recently and it appears to be caused by an issue with the error suppression operator when it’s used inside custom iterators: https://bugs.php.net/bug.php?id=72122 |
ping @nicolas-grekas I've seen this one come by several times; Sadly I don't have the time to dive in this deeper but my guess is that there's something misconfigured in the startup/teardown: https://travis-ci.org/symfony/symfony/jobs/122442688#L2951
The text was updated successfully, but these errors were encountered: