Bug #29280
closedExtension Manager: can't download extension from second repository
0%
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.
Updated by Ingmar Schlecht about 13 years ago
- Status changed from New to Accepted
- Assignee set to Steffen Kamper
Updated by Wouter Wolters about 13 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.
Updated by Helmut Hummel about 13 years ago
- Priority changed from Should have to Could have
- Target version set to 4.6.0-RC1
- Complexity set to hard
Updated by Xavier Perseguers about 13 years ago
- Target version changed from 4.6.0-RC1 to 4.6.0
Updated by Chris topher about 13 years ago
- Target version changed from 4.6.0 to 4.6.1
Updated by Chris topher almost 13 years ago
- Target version changed from 4.6.1 to 4.6.2
Updated by Xavier Perseguers almost 13 years ago
- Assignee deleted (
Steffen Kamper) - Target version deleted (
4.6.2)
Updated by Wouter Wolters over 11 years ago
- Status changed from Accepted to Rejected
Updated by Philipp Gampe over 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.
Updated by Wouter Wolters over 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.
Updated by Alexander Opitz almost 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No