Bug #69212
closedTruncate table in extension "extensionmanager"
0%
Description
Hi all,
could you please change the code in extension manager in the following
file
"EXT:extensionmanager/Classes/Utility/Repository/Helper.php"
method:
"updateExtList()"
Current code:
$this->getDatabaseConnection()->exec_TRUNCATEquery('tx_extensionmanager_domain_model_extension');
Requested code:
$this->getDatabaseConnection()->exec_DELETEquery('tx_extensionmanager_domain_model_extension', 'repository = '.intval($this->repository->getUid()));
It should be done in both versions 6.2 and 7.x.
Thank you in advance!
Best regards
Boris
Updated by Anja Leichsenring about 9 years ago
Hi Boris,
could you please explain what you want to achive with the requested code change? Thanks.
Updated by Boris Günther about 9 years ago
Hi Anja,
I am currently thinking about to setup a private extension repository - already tested and working fine.
The reason for my request is that with the current code the whole extension table is cleared - but it should only clear extensions from the according repository.
Updated by Christian Kuhn about 9 years ago
No. Multiple repositories are not supported by em and will probably never be. The em code should be cleaned and simplified from these leftovers. Consider switching to composer based installations instead of fiddling with additional TER repositories.