Project

General

Profile

Actions

Bug #60864

closed

EXT with composer.json and Extension-Keys (just directory Extension-Key does not work)

Added by Andreas Allacher over 10 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-08-08
Due date:
% Done:

0%

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

Description

If I have an ext with a composer.json then the composer name is used for the extension key which is OK.

However, the extension key that uses the directory does not work then.

This is a problem for multiple reasons:
1.) Extension should also support older versions e.g. 6.1 there were no PackageStates.php
So I would have to make sure I use the corresponding name depending on the typo3 Version which is just "annoying"

2.) The Extension could already have been installed under the old name, so basically the extension is there but it uses the old key.
Same goes for e.g. typo3 upgrade where the old name was noted.

So I actually would have to make sure to retrieve the correct key depending on which ext key is loaded.

If there is a composer.json both keys (the directory based and the composer based) should work.

Actions

Also available in: Atom PDF