Project

General

Profile

Actions

Bug #70557

closed

autoload-dev information in composer.json can lead to exception when executing test

Added by Helmut Hummel about 9 years ago. Updated about 7 years ago.

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

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Since recently autoload-dev class loading information is evaluated in non composer mode and application context testing.

This however can lead to a situation where the information provided in a composer.json is invalid unless a composer install is performed in the extension directory.
composer ignores this info in a composer.json unless this composer.json is the root. In TYPO3 non composer mode however we need to add some class loading info
for each extension, but we must ignore any information provided in the composer.json

The solution is to only use autoload-dev if provided in the ext_emconf.php file.

Actions

Also available in: Atom PDF