[TYPO3-dev] Extension upload to TER failed: Uncaught TYPO3 Exception
Franz Holzinger
franz at ttproducts.de
Fri Apr 26 13:48:20 CEST 2013
Hello,
I am using the "Extension Uploader' under TYPO3 6.0.4.
When I try to upload a local extension, then it ends up in an uncaught
TYPO3 extension. Unfortunately there is no bugtracker for it.
IMHO TYPO3 6.0 is still not usable for developers. All tools for an
extension upload fail.
- Franz
------------------
Uncaught TYPO3 Exception
#1361547441: Invalid state key (More information)
T3x\ExtensionUploader\UploaderException thrown in file
/home/path/public_html/typo3conf/ext/extension_uploader/Classes/Utility/StatesUtility.php
in line 68.
12 T3x\ExtensionUploader\Utility\StatesUtility::getStateIdForKey("Beta")
/home/path/public_html/typo3conf/ext/extension_uploader/Classes/Domain/Repository/LocalExtensionRepository.php:
00123:
$extension->setLoaded(ExtensionManagementUtility::isLoaded($extKey));
00124: $extension->setSiteRelPath($extensionConfig['siteRelPath']);
00125:
$extension->setState($this->statesUtility->getStateIdForKey($extensionConfig['state']));
00126:
00127: if (!empty($extensionConfig['constraints']) &&
is_array($extensionConfig['constraints'])) {
11
T3x\ExtensionUploader\Domain\Repository\LocalExtensionRepository::findAll()
/home/path/public_html/typo3conf/ext/extension_uploader/Classes/Domain/Repository/LocalExtensionRepository.php:
00199: */
00200: public function findOneByExtensionKey($extensionKey) {
00201: $extensions = $this->findAll();
00202: if (!isset($extensions[$extensionKey])) {
00203: throw new UnknownExtensionException("Extension key
'$extensionKey' is not a known local extension");
10
T3x\ExtensionUploader\Domain\Repository\LocalExtensionRepository::findOneByExtensionKey("div2007")
/home/path/public_html/typo3conf/ext/extension_uploader/Classes/Controller/UploaderController.php:
00089: public function settingsAction($extensionKey, array $settings =
array()) {
00090: $this->view->assignMultiple(array(
00091: 'extension' =>
$this->extensions->findOneByExtensionKey($extensionKey),
00092: 'states' => $this->statesUtility->getStates(),
00093: 'repositories' => $this->repositories->findAll(),
9
T3x\ExtensionUploader\Controller\UploaderController::settingsAction("div2007",
array)
8 call_user_func_array(array, array)
/home/path/public_html/typo3_src-6.0.4/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00261: $validationResult = $this->arguments->getValidationResults();
00262: if (!$validationResult->hasErrors()) {
00263: $actionResult = call_user_func_array(array($this,
$this->actionMethodName), $preparedArguments);
00264: } else {
00265: $methodTagsValues =
$this->reflectionService->getMethodTagsValues(get_class($this),
$this->actionMethodName);
7 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod()
/home/path/public_html/typo3_src-6.0.4/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00163: $this->initializeView($this->view);
00164: }
00165: $this->callActionMethod();
00166: }
00167:
6
TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request,
TYPO3\CMS\Extbase\Mvc\Web\Response)
/home/path/public_html/typo3_src-6.0.4/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:
00098: $controller = $this->resolveController($request);
00099: try {
00100: $controller->processRequest($request, $response);
00101: } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException
$ignoredException) {
00102: }
5
TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request,
TYPO3\CMS\Extbase\Mvc\Web\Response)
/home/path/public_html/typo3_src-6.0.4/typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php:
00045: /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00046: $response =
$this->objectManager->create('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response');
00047: $this->dispatcher->dispatch($request, $response);
00048: return $response;
00049: }
4 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler::handleRequest()
/home/path/public_html/typo3_src-6.0.4/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00227: $requestHandlerResolver =
$this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\RequestHandlerResolver');
00228: $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00229: $response = $requestHandler->handleRequest();
00230: // If response is NULL after handling the request we need to stop
00231: // This happens for instance, when a USER object was converted
to a USER_INT
3 TYPO3\CMS\Extbase\Core\Bootstrap::handleWebRequest()
/home/path/public_html/typo3_src-6.0.4/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00199: $content = $this->handleCommandLineRequest();
00200: } else {
00201: $content = $this->handleWebRequest();
00202: }
00203:
2 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array)
/home/path/public_html/typo3_src-6.0.4/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00289: $configuration['vendorName'] = $moduleConfiguration['vendorName'];
00290: }
00291: $content = $this->run('', $configuration);
00292: print $content;
00293: return TRUE;
1
TYPO3\CMS\Extbase\Core\Bootstrap::callModule("tools_ExtensionUploaderExtensionuploader")
/home/path/public_html/typo3_src-6.0.4/typo3/mod.php:
00045: foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) {
00046: $dispatcher =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager')->get($dispatcherClassName);
00047: if ($dispatcher->callModule($temp_M) === TRUE) {
00048: $isDispatched = TRUE;
00049: break;
More information about the TYPO3-dev
mailing list