Project

General

Profile

Actions

Bug #69212

closed

Truncate table in extension "extensionmanager"

Added by Boris Günther about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2015-08-20
Due date:
% Done:

0%

Estimated time:
0.25 h
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

Updated by Georg Ringer about 9 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF