Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Filesystem] added workaround in Filesystem::rename for PHP bug#23092

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
VolCh wants to merge2 commits intosymfony:2.7fromVolCh:patch-filesystem-rename

Conversation

@VolCh
Copy link
Contributor

[Filesystem] added workaround in Filesystem::rename forhttps://bugs.php.net/bug.php?id=54097

Standard PHP rename() of dirs across devices/mounted filesystems produces confusing copy error & throws IOException in Filesystem::rename. I got it during console cache:clear in the Docker environment. This PR possiblefixes#19851 and other environment related issues.

Workaround is on \rename() fails try to Filesystem::mirror & Filesystem::remove if $origin is directory

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

…php.net/bug.php?id=54097On \rename() fails try to self::mirror & self::remove if $origin is directory
@nicolas-grekasnicolas-grekas added this to the2.7 milestoneJun 9, 2017
@xabbuh
Copy link
Member

This will fix#12533.

@fabpot
Copy link
Member

Thank you@VolCh.

fabpot added a commit that referenced this pull requestJun 14, 2017
…P bug (VolCh)This PR was squashed before being merged into the 2.7 branch (closes#23092).Discussion----------[Filesystem] added workaround in Filesystem::rename for PHP bug[Filesystem] added workaround in Filesystem::rename forhttps://bugs.php.net/bug.php?id=54097Standard PHP rename() of dirs across devices/mounted filesystems  produces confusing copy error & throws IOException in Filesystem::rename. I got it during console cache:clear  in the Docker environment. This PR possiblefixes#19851 and other environment related issues.Workaround is on \rename() fails try to Filesystem::mirror & Filesystem::remove if $origin is directory| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Commits-------3ccbc47 [Filesystem] added workaround in Filesystem::rename for PHP bug
@fabpotfabpot closed thisJun 14, 2017
This was referencedJul 3, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

5 participants

@VolCh@xabbuh@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp