Task #52814

Don't throw Exception if "/Packages" cannot be created in Doc-Root

Added by Ernesto Baschny about 6 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2013-10-14
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When the new package management takes over throught the Install Tool it tries to create a "Packages" subdirectory directly in PATH_site. This might fail due to no writing rights on this level.

This is not unusual, as TYPO3 never really needed to write anything here, so many installations have hardened their instances by not allowing doc-root-writing.

So we should instead not fatal with an exception, but accept that it wasn't created and not bother about it.

Associated revisions

Revision 498ca1e9 (diff)
Added by Thomas Maroschik about 6 years ago

[BUGFIX] Don't create package base paths anymore

The Package Manager created the package base paths by itself.
This could lead to errors if directory creation is forbidden
on the PATH_site level.

This fix disables the folder creation and removes the folder
from package base paths if the folder is not available.

Fixes: #52814
Releases: 6.2
Change-Id: I67acad6101ca54dd4c45604bcfc91da490fdc43a
Reviewed-on: https://review.typo3.org/24779
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik

History

#1 Updated by Gerrit Code Review about 6 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24779

#2 Updated by Gerrit Code Review about 6 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24779

#3 Updated by Thomas Maroschik about 6 years ago

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

#4 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF