Project

General

Profile

Actions

Bug #29280

closed

Extension Manager: can't download extension from second repository

Added by Wouter Wolters over 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2011-08-26
Due date:
% Done:

0%

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

Description

When I try to download an extension from a second repository, which is added in the new Extension Manager, I get an error that there are network problems.
Getting the extensions.xml.gz from this repository is working fine.

I researched the code and located the problem.

In index.php in the sysext/em/classes is a function getMirrorURL. This function doesn't take the selectedRepository variable to get the mirrors array. I tried to add this with the following code :

$selectedRepo = $this->settings->getSelectedRepository();
$repoUtility = t3lib_div::makeInstance('tx_em_Repository_Utility');
$repoUtility->setRepository($selectedRepo);

$this->MOD_SETTINGS['mirrorListURL'] = $repoUtility->getRemoteMirrorListFile();
$this->fetchMetaData('mirrors');
$mirrors = unserialize($this->MOD_SETTINGS['extMirrors']);

After adding this code I could download the extensions.

In tx_em_Settings is also a getMirrorURL function. In this function the selectedRepository is used to get the mirrors array.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #25387: Installation from own TER not possibleRejected2011-03-24

Actions
Actions #1

Updated by Ingmar Schlecht over 12 years ago

  • Status changed from New to Accepted
  • Assignee set to Steffen Kamper
Actions #2

Updated by Wouter Wolters over 12 years ago

Any news on this one? Think this is also needed in 4.6, because the old EM is deprecated there. I will create a new patch for this but can't get the current from Steffen Kamper working with Git.

Actions #3

Updated by Helmut Hummel over 12 years ago

  • Priority changed from Should have to Could have
  • Target version set to 4.6.0-RC1
  • Complexity set to hard
Actions #4

Updated by Xavier Perseguers over 12 years ago

  • Target version changed from 4.6.0-RC1 to 4.6.0
Actions #5

Updated by Chris topher over 12 years ago

  • Target version changed from 4.6.0 to 4.6.1
Actions #6

Updated by Chris topher over 12 years ago

  • Target version changed from 4.6.1 to 4.6.2
Actions #7

Updated by Xavier Perseguers about 12 years ago

  • Assignee deleted (Steffen Kamper)
  • Target version deleted (4.6.2)
Actions #8

Updated by Wouter Wolters almost 11 years ago

  • Status changed from Accepted to Rejected
Actions #9

Updated by Christian Weiske almost 11 years ago

Why did you reject it?

Actions #10

Updated by Philipp Gampe almost 11 years ago

  • Status changed from Rejected to Needs Feedback
  • Complexity changed from hard to medium

As the code is already there, we should support this even if we do not ship an UI for it.

Actions #11

Updated by Wouter Wolters almost 11 years ago

Come on guys this has to do with the old EM in 4.7 and lower. This will not be supported there as I explained in a few other tickets already. This is my own ticket so I didn't put an explanation here. And Philipp the code is far from there in 6.0 and newer.

Actions #12

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No
Actions

Also available in: Atom PDF