contao / contao-manager

Contao Manager
GNU Lesser General Public License v3.0
83 stars 33 forks source link

Composer update fails with local package and relative path #729

Closed contaoacademy closed 1 year ago

contaoacademy commented 1 year ago

I have the following configuration in composer.json

    "repositories": {
        "fenepedia/digistore24-voucher-bundle": {
                "type": "path",
                "url": "./_packages/fenepedia/contao-digistore24-voucher-bundle"
        }
        }

If I use the composer cloud via the Contao Manager and update the packages, I get the following error message:

An error occurred during resolving process:
The `url` supplied for the path (_packages/fenepedia/contao-digistore24-voucher-bundle) repository does not exist

If I specify the path absolute, then it works correctly.

Toflar commented 1 year ago

I've just added a unit test in the Composer Resolver Cloud to test path repositories with ./ relative paths. They passed without changes so I think this might be an issue in the Manager indeed.

aschempp commented 1 year ago

Fixed in 412e34d445b1f436f72b517c34ee84cc1ae09cb7