Loading...
 
Skip to main content

Packages Duplicate Vendors

Status
Open
Subject
Packages Duplicate Vendors
Version
21.x
20.x
Category
  • Conflict of two features (each works well independently)
Feature
Packages
Resolution status
New
Submitted by
drsassafras
Lastmod by
drsassafras
Rating
(0)
Description

Packages run composer independently of the regular composer dependencies.

This creates a situation where package dependencies might conflict.

For example, if you install media alchemy, it requires Symfony console, so Symfony console gets installed via our main dependencies, (in vendor_bundled) also as a dependency of the packages install, (in vendor folder).

Now there two different versions of the same vendor that are both getting auto-loaded. Right now the Package-required Symfony console version is significantly older than that of the main Symfony Console and it overrides the one that Tiki has been tested with.

This, of course, provides a huge opportunity for difficult to find errors.

Perhaps as a solution, we can remove in a VendorsClean equivalent of packages, each dependency that the main composer has already installed. This way it won't severely cripple Tiki when new packages are installed.

Importance
9
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7177
Created
Monday 16 September, 2019 21:29:41 UTC
by drsassafras
LastModif
Monday 16 September, 2019 21:29:41 UTC


Show PHP error messages