[BUGFIX] Do not fetch extension list on every request
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 18 Aug 2012 22:25:04 +0000 (00:25 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sun, 19 Aug 2012 08:40:32 +0000 (10:40 +0200)
commit6e055698203299ecb721e118d108ce480a7d5761
treeabcc915ec04ef4cf181b5d50316d4704ff1126b7
parent6319d053f384ff6dd2518352679eb8a9d8ed9250
[BUGFIX] Do not fetch extension list on every request

Due to comparing a DateTime object with an integer
the extension list is fetched every time when switching
to the get extensions tab in the extension manager.

Convert the DateTime object to a timestamp first and
add a test which ensure this works.

Additionally clean up the doc comment of that
property in the model and use forceUpdateCheck
as action parameter in the controller.

Change-Id: I71f6599a6fa41115515c1764deb26e8e56762f4f
Resolves: #39944
Releases: 6.0
Reviewed-on: http://review.typo3.org/13905
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/extensionmanager/Classes/Controller/UpdateFromTerController.php
typo3/sysext/extensionmanager/Classes/Domain/Model/Repository.php
typo3/sysext/extensionmanager/Tests/Controller/UpdateFromTerControllerTest.php