Project

General

Profile

Actions

Bug #70557

closed

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

Added by Helmut Hummel over 8 years ago. Updated over 6 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 #1

Updated by Gerrit Code Review over 8 years 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 http://review.typo3.org/43954

Actions #2

Updated by Helmut Hummel over 8 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF