Bug #86561

writeAdditionalConfiguration method in ConfigurationManager writes to wrong path

Added by Alexander Stehlik over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-10-03
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

The path used in TYPO3\CMS\Core\Configuration\ConfigurationManager::writeAdditionalConfiguration() is invalid.

The file is written to the webroot instead of typo3conf.

I think it was caused by https://review.typo3.org/#/c/57600/ where the path was adjusted in the class variable but not in the method.

Associated revisions

Revision 4c8b83b9 (diff)
Added by Alexander Stehlik over 1 year ago

[BUGFIX] Fix path when writing AdditionalConfiguration.php

Use the getAdditionalConfigurationFileLocation() method to
determine the path to the file.

Releases: master
Resolves: #86561
Change-Id: I61b52e8eeb99ab2575f75025712a17f4c8ea4a40
Reviewed-on: https://review.typo3.org/58571
Tested-by: TYPO3com <>
Reviewed-by: Tomas Norre Mikkelsen <>
Reviewed-by: Rune Piper <>
Tested-by: Rune Piper <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Susanne Moog <>
Reviewed-by: Tymoteusz Motylewski <>
Tested-by: Tymoteusz Motylewski <>

History

#1 Updated by Gerrit Code Review over 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/58571

#2 Updated by Alexander Stehlik over 1 year ago

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

#3 Updated by Benni Mack 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF