Project

General

Profile

Actions

Bug #52779

closed

Exception if uninstalled extension has "wrong key"

Added by Ernesto Baschny over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend API
Target version:
Start date:
2013-10-14
Due date:
% Done:

100%

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

Description

I know of tons of installations where some deinstalled extension in typo3conf/ext/ gets renamed to "tt_news.old" or "news.bak" etc. This was no problem before.

With the new package management feature, this now throws an exception on first hit:

InvalidPackageKeyException('"' . $packageKey . '" is not a valid package key.', 1217959510)

Solution:

The loop that scans for packages should skip those who's key is not invalid, in order to avoid an exception later down the road.

Actions

Also available in: Atom PDF