Bug #40146

Task #40095: Move core to namespaces

[rsaauth] Call to undefined method CommandUtility::getCommand()

Added by Tymoteusz Motylewski over 8 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-24
Due date:
% Done:

100%

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

Description

While trying to log in into backend I'm getting:

Fatal error: Call to undefined method TYPO3\CMS\Core\Utility\CommandUtility::getCommand() in C:\xampp\htdocs\community46\typo3\sysext\rsaauth\Classes\Backend\CommandLineBackend.php on line 60

this line right now is:
$this->opensslPath = \TYPO3\CMS\Core\Utility\CommandUtility::getCommand('openssl');

before was:
$this->opensslPath = t3lib_exec::getCommand('openssl');

Class t3lib_exec is now mapped to \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('core') . 'Classes/Utility/CommandUtility.php';

but the content of CommandUtility is completely different then the original t3lib_exec class

#1

Updated by Tymoteusz Motylewski over 8 years ago

seems that both
t3lib_utility_Command and t3lib_exec are pointing to the same file now "Classes/Utility/CommandUtility.php"

#2

Updated by Christian Kuhn over 8 years ago

  • Parent task set to #40095
#3

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14056

#4

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14056

#5

Updated by Christian Kuhn over 8 years ago

The transfer to CommandUtility was planned, but not done. The patch takes care of that.

#6

Updated by Tymoteusz Motylewski over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF