Bug #29777

Removal of symlinked package resources fails

Added by Robert Lemke about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Utility
Start date:
2011-09-14
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

The File System Resource Publisher removes invalid directories or symbolic links from the _Resources/Static/Packages/ folder. This rarely happens, but it does happen if some package providing static resources is deactivated.

In that case FLOW3 failed to remove the symbolic link because the removeDirectoriesRecursively() function did not consider symlinks (only directories).

For reproducing this bug, use a TYPO3 Phoenix installation and let the TYPO3.ExtJS symlink in _Resources/Static/Packages/ point to some invalid directory. On the next web hit, FLOW3 should crash.

#1

Updated by Mr. Hudson about 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change I2d5c544e6db728594209294cfe779b8bad3c6d59 has been pushed to the review server.
It is available at http://review.typo3.org/4970

#2

Updated by Mr. Hudson about 10 years ago

Patch set 2 of change I2d5c544e6db728594209294cfe779b8bad3c6d59 has been pushed to the review server.
It is available at http://review.typo3.org/4970

#3

Updated by Robert Lemke about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF