[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:52:42 +0000 (19:52 +0100)
commitf6b1e096d8d50e15e463ee1bddf1e592985a42a2
tree380183f65a06122f190ee09fc6ad5a0efa4e869f
parent48437098e4ea71703ab29f68a48abe5b721c0f83
[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/16862
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