Project

General

Profile

Actions

Bug #17178

closed

Extensions with dependencies - datatransfer did not sucseed

Added by Martin Holtz over 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2007-04-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I install cal and i got the message "Extensions suggested by extension "cal""

If i "Import now (opens a new window)" i got that error:

"Error: The datatransfer did not succeed. The T3X file could not be fetched. Possible reasons: network problems, allow_url_fopen is off, curl is not enabled in Install tool."

But if i install the extension - for example captcha - there is no error.

i use typo3 4.1 i believe it works before with 4.1...?

I ot that Error Messages:

Warning: array_keys(): The first argument should be an array in /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/class.em_index.php on line 1718
Call Stack
  1. Function Location
    1 {main}() /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/index.php:0
    2 ux_sc_mod_tools_em_index->main() /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/index.php:54
    3 ux_sc_mod_tools_em_index->importextfromrep() /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/class.em_index.php:534
    4 array_keys () /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/class.em_index.php:1718
Warning: end(): Passed variable is not an array or object in /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/class.em_index.php on line 1719
Call Stack
  1. Function Location
    1 {main}() /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/index.php:0
    2 ux_sc_mod_tools_em_index->main() /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/index.php:54
    3 ux_sc_mod_tools_em_index->importextfromrep() /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/class.em_index.php:534
    4 end () /data/htdocs/typo3_src-4.1/typo3/mod/tools/em/class.em_index.php:1719

ext_emconf.php:

'constraints' => array(
'depends' => array(
'php' => '3.0.0-0.0.0',
'typo3' => '3.8.0-4.1.99',
),
'conflicts' => array(
),
'suggests' => array(
'partner' => '',
'tt_address' => '',
'captcha' => '',
'date2cal' => '',
'rlmp_dateselectlib' => '',
'gabriel' => '',
),
),

(issue imported from #M5338)


Files

class.em_index.php.diff (1.11 KB) class.em_index.php.diff Administrator Admin, 2007-10-29 15:59
Actions #1

Updated by Jeff Segars over 17 years ago

Looks to be a simple copy/paste error. When you try to import a suggested extension, it uses the extension key from dependencies instead. I'm attaching the one line patch for it.

Actions #2

Updated by Martin Holtz over 17 years ago

yeah, works fine - thanks!

Actions #3

Updated by Michael Stucki over 17 years ago

Closing on user request.

Actions #4

Updated by Michael Stucki over 17 years ago

There is a fix, but obviously the fix has not been committed yet, therefore reopening.
Thanks for pointing on this, Jeff!

Actions #5

Updated by Georg Ringer about 17 years ago

thx, it works for
+1 for next version, really please!

Actions #6

Updated by Jeff Segars about 17 years ago

Updated diff to be relative to TYPO3 root.

Actions #7

Updated by Jeff Segars about 17 years ago

Fixed in Subversion for trunk (4.2) and 4.1 branch.

Actions

Also available in: Atom PDF