Bug #40146
Task #40095: Move core to namespaces
[rsaauth] Call to undefined method CommandUtility::getCommand()
Status: | Resolved | Start date: | 2012-08-24 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.0 | Is Regression: | ||
PHP Version: | Sprint Focus: | |||
Complexity: |
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
Associated revisions
[BUGFIX] Merge t3lib_exec class with t3lib_utility_Command
After namespace change both classes t3lib_utility_Command t3lib_exec
are mapped to the new class TYPO3\CMS\Core\Utility\CommandUtility
This patch adds missing t3lib_exec content to CommandUtility.
Mapping old classes names to new one is already done for both classes.
Related: #40095
Fixes: #40146
Release: 6.0
Change-Id: Iaed788ddebd42ed115c986fc7d6d056f73d29cb9
Reviewed-on: http://review.typo3.org/14056
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
History
#1 Updated by Tymoteusz Motylewski almost 3 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 almost 3 years ago
- Parent task set to #40095
#3 Updated by Gerrit Code Review almost 3 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 almost 3 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 almost 3 years ago
The transfer to CommandUtility was planned, but not done. The patch takes care of that.
#6 Updated by Tymoteusz Motylewski almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a657956b6c6795d07e07496906dd27fff33afc36.