Bug #86407

Resolve relative file path during copy correctly

Added by Oliver Hader about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
composer
Target version:
Start date:
2018-09-27
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In composer mode several directories are arranged outside the public root-path. When trying to copy to those folders, the public root-path is prefixed due an invalid check which is too strict. The expectation is to use public root-path (PATH_site) when resolving relative paths here.

see https://github.com/FriendsOfTYPO3/introduction/issues/13
introduced in https://review.typo3.org/#/c/57241/


Related issues

Related to TYPO3 Core - Task #85285: Replace last occurrences of PATH_site with Environment API Closed 2018-06-15

Associated revisions

Revision b3b143d6 (diff)
Added by Oliver Hader about 1 year ago

[BUGFIX] Resolve relative file path during copy correctly

In composer mode several directories are arranged outside the
public root-path. When trying to copy to those folders, the
public root-path is prefixed due an invalid check which is
too strict. The expectation is to use public root-path
(PATH_site) when resolving relative paths here.

Resolves: #86407
Releases: master
Change-Id: I666b08311e06289c64943518682ab4a970b35a2b
Reviewed-on: https://review.typo3.org/58415
Tested-by: TYPO3com <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

History

#1 Updated by Oliver Hader about 1 year ago

  • Description updated (diff)

#2 Updated by Oliver Hader about 1 year ago

  • Related to Task #85285: Replace last occurrences of PATH_site with Environment API added

#3 Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58415

#4 Updated by Oliver Hader about 1 year ago

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

#5 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF