Project

General

Profile

Actions

Bug #100660

open

Wrong resources links when using env variable path_root

Added by Stefan Bublies about 1 year ago. Updated 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
composer
Target version:
-
Start date:
2023-04-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When TYPO3 is installed with typo3-composer-installers v3.1 and the installation using enviroment variable: TYPO3_PATH_ROOT, the TYPO3 set all resources with _assets/.
If you leave out the variable everything works fine.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #101911: TYPO3 composer mode does not properly respect installations in a subdirectoryUnder Review2023-09-13

Actions
Actions #1

Updated by Kay Strobach 11 months ago

with the old composer installer and previous TYPO3 versions it was possible to install typo3 in a way, that resources are loaded from

public/typo3conf/ext/

With the newer core and the same old installer (v3) this works fine as long as you use composer in the root folder and do not use the constant TYPO3_PATH_ROOT, otherwise the resources are loaded from

_assets
which is fine for newer installations, but breaks with the old installer.

The change happend somewhere in the v11 releases, will try to pin that down further.

Worked for v9, v10, upgrade to v11 broken

Btw. for v12 we switched to the

_assets
folder, but as our instance works a template for many installs, it would be nice to find a solution.

Actions #2

Updated by Garvin Hicking 8 months ago

  • Related to Bug #101911: TYPO3 composer mode does not properly respect installations in a subdirectory added
Actions #3

Updated by Helmut Hummel 8 months ago

  • Status changed from New to Needs Feedback

Stefan Bublies wrote:

When TYPO3 is installed with typo3-composer-installers v3.1

I assume TYPO3 11, like set to the bug report. correct?

and the installation using enviroment variable: TYPO3_PATH_ROOT,

Can you explain what you want to achieve with setting this environment variable in Composer mode
and especially to what value you are setting this compared to the value that TYPO3 calculates for this path?

Actions #4

Updated by Stefan Bublies 8 months ago

Helmut Hummel wrote in #note-3:

I assume TYPO3 11, like set to the bug report. correct?

Yes, correct.

and the installation using enviroment variable: TYPO3_PATH_ROOT,

Can you explain what you want to achieve with setting this environment variable in Composer mode
and especially to what value you are setting this compared to the value that TYPO3 calculates for this path?

In this setup, the vendor (and a few other) folders are not in the document root. The variable is set to the document root. This worked fine under v9 and v10.

Actions #5

Updated by Riccardo De Contardi 3 months ago

  • Status changed from Needs Feedback to New
Actions

Also available in: Atom PDF