[BUGFIX] EM does not update extension list
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 29 Nov 2012 18:01:36 +0000 (19:01 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 29 Nov 2012 18:48:59 +0000 (19:48 +0100)
commit4c0aa1f5a75dd50caacd37b9d5e86e58b45dcfee
tree2b802588d155e2d47c03ec5f2ed222713fbd416b
parent203d5c891a5f755a869c2bc88ea82ddf86d27de9
[BUGFIX] EM does not update extension list

Currently the Extension Manager looks up the field
in the extension repository repository on how many
extensions are in the system.

Since the result of this getter might be a string
or the number in there might not be up to date,
the EM does not update the extension list.

Change that to a count on the extension table,
which is the wanted behavior here.

Fixes: #43460
Releases: 6.0, 6.1

Change-Id: I3917148852995d0853fbca60848881d6aeacc989
Reviewed-on: http://review.typo3.org/16857
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php
typo3/sysext/extensionmanager/Classes/Domain/Model/Repository.php
typo3/sysext/extensionmanager/Tests/Unit/Controller/UpdateFromTerControllerTest.php