Project

General

Profile

Actions

Bug #47307

closed

ExtensionManagementUtility not working well?

Added by Vincent Mans about 11 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-04-17
Due date:
% Done:

0%

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

Description

Installed version: 6.1 beta2 (april 17th).

ExtensionManagementUtility doesn't handle this in tt_news, and so the backend crashes:

if (function_exists('t3lib_utility_VersionNumber::convertVersionNumberToInteger')) {
    $t3version = t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version);
} else {
    $t3version = t3lib_div::int_from_ver(TYPO3_version);
}

But this works well:

$t3version = t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version);

From the error log:

[Wed Apr 17 10:12:31 2013] [error] [...] PHP Fatal error:  Call to undefined method TYPO3\\CMS\\Core\\Utility\\GeneralUtility::int_from_ver() in /.../typo3conf/ext/tt_news/ext_localconf.php on line 48, referer: http://.../typo3/backend.php
Actions #1

Updated by Markus no-lastname-given about 11 years ago

Can confirm this on 6.1 (final). The suggested fix works for me, too.

Actions #2

Updated by Georg Ringer over 9 years ago

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

function_exist can only check functions, you would have needed method_exists. see http://php.net/manual/de/function.method-exists.php

I am closing this issue as 6.1 is not supported anymore and I am not sure if the posted code is really from the core?!

Actions

Also available in: Atom PDF