Project

General

Profile

Actions

Bug #40508

closed

EM 6.0 fails if DB is empty

Added by Markus Klein about 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2012-09-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After pulling the current master, running Compare Database and updating the DB, I get the following error in the BE when trying to access the EM.

#1: PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Extensionmanager\Utility\Repository\Helper::setRepository() must be an instance of TYPO3\CMS\Extensionmanager\Domain\Model\Repository, null given, called in typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php on line 88 and defined in typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php line 101

The reason is that the repository table not existing or empty.
Unfortunately I'm not able to add the table via Static Data of the EM extension as I need a working EM for that.
(Chicken+Egg)

Possible solution:
Provide an upgrade wizard which ensures that this table exists and contains at least one repository.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #40421: Ensure there is an entry in tx_extensionmanager_domain_model_repositoryClosed2012-08-30

Actions
Actions

Also available in: Atom PDF