Issue Bug Closed

#84620Package symfony/finder 4.0.7 might break composer installation

Tim Schreiner 04/04/18, 21:26 updated 04/04/18, 22:05

Description

I updated the symfony/finder package in a TYPO3 8.7.12 installation to 4.0.7. Now I cannot install composer packages that are included via path.

Steps to reproduce:

  1. Setup a TYPO3 8.7 composer installation
  2. Create a folder named “packages” in your project
  3. Create an example extension named “test_extension” inside the packages folder with a composer.json file.
  4. Add a repository to the projects composer.json with type path and url packages/*
  5. Require your extension in your projects composer file
  6. Move to the Extension Manager in the TYPO3 backend. The new extension will not be there.

The reason is, that with symfony/finder 4.0.7, that generated package path is the path to the original folder (packages/test_extension) and not the path to the typo3cond/ext/test_extension folder.

This might be a problem with symfony/finder package but I open a ticket here to help people having this problem. Is solved it by requiring symfony/finder 4.0.6 again.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.