Project

General

Profile

Actions

Bug #33896

closed

$BE_USER->uc (User Settings)->moduleData->tools_em->extMirrors is not changed on repository change

Added by Philipp Gampe about 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2012-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you have more than one repository, you are locked to work with the one selected on first load (or em settings save).

There is no way of actually change the repository.
Even worse, if you delete a repository, you will still stick to that one if it was selected last.

Note: I did reload the EM.
The only way out is to clear UC array, but this also resets all other BE settings.


Files

em_repositorylist.js.PATCH (598 Bytes) em_repositorylist.js.PATCH Patch for em_repositorylist.js Alexander Jahn, 2012-04-17 10:12
index.php.PATCH (1.68 KB) index.php.PATCH Patch for SC_mod_tools_em_index Alexander Jahn, 2012-04-17 10:12
Actions #1

Updated by Alexander Jahn about 12 years ago

I found the same error today when setting up a custom repository.

The only possibility to use a repository different from the default one is setting

$GLOBALS['TYPO3_CONF_VARS']['EXT']['em_mirrorListURL'] = 'http://example.org/mirrors.xml.gz';
$GLOBALS['TYPO3_CONF_VARS']['EXT']['em_wsdlURL'] = 'http://example.org/wsdl/tx_ter_wsdl.php';

in localconf.php.

That, however, forces EM to use this repository only and switching to another one still remains impossible.

Updated by Alexander Jahn about 12 years ago

I cobbled together a fix since I need this to work now. It does work but is more a hack than a real fix.
However, it should serve fine as a starting point for a proper fix.

There is one severe inconsistency i stumbled upon:
Both SC_mod_tools_em_index and tx_em_Settings implement a method getMirrorURL(). Both methods have more or less similar functionality, however the one in tx_em_Settings seems to be more articulate.

NOTE: This fix is for TYPO3 4.6.7, I have not tested in other versions!

Actions #3

Updated by Wouter Wolters almost 10 years ago

  • Status changed from New to Closed
  • Is Regression set to No

We do not work on the old Extension Manager anymore. This functionality is not supported in the current Extension Manager.

Actions

Also available in: Atom PDF