Project

General

Profile

Actions

Bug #40508

closed

EM 6.0 fails if DB is empty

Added by Markus Klein over 11 years ago. Updated over 5 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 #1

Updated by Susanne Moog over 11 years ago

  • Project changed from TYPO3 Core to 2269
  • Category deleted (Extension Manager)
  • Target version deleted (6.0.0-beta2)
Actions #2

Updated by Francois Suter over 11 years ago

I agree with the need for an upgrade wizard.

Actions #3

Updated by Gerrit Code Review over 11 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14506

Actions #4

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14506

Actions #5

Updated by Christian Kuhn over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • PHP Version set to 5.3
Actions #6

Updated by Oliver Hader about 11 years ago

  • Target version set to 2222
Actions #7

Updated by Oliver Hader about 11 years ago

  • Project changed from 2269 to TYPO3 Core
Actions #8

Updated by Oliver Hader about 11 years ago

  • Category set to Extension Manager
Actions #9

Updated by Oliver Hader about 11 years ago

  • Target version deleted (2222)
Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF