You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was squashed before being merged into the 2.1 branch (closes#7260).
Commits
-------
1d3da29 [FrameworkBundle] avoids cache:clear to break if new/old folders already exist
Discussion
----------
[FrameworkBundle] avoids cache:clear to break if new/old folders already exist
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #6502
---------------------------------------------------------------------------
by mahmouds at 2013-03-04T19:07:20Z
:+1:
When using cache:clear (in a windows-environment with administrator-rights) breaks when the $oldCacheDir is already a directory.
[ErrorException]
Warning: rename(C:/
/envname, C://envname_old): Access denied. (code: 5) in C:~\FrameworkBundle\Command\CacheClearCommand.php line 77I'm not sure how this behaviour is on a linux-machine, but there's simply no check at all if any directory with *_old already exists.
The text was updated successfully, but these errors were encountered: