Re: [TYPO3-german] Form extension - Exception bei Vorschau von Formularen

2018-02-28 Diskussionsfäden Renzo Bauen
Ihr müsst auf 8.7.10 upgraden, dann funktioniert es.
In 8.7.9 muss man im Installtool den Debug-Modus ein oder ausschalten,
dann funktioniert es :-)

Gruss Renzo
-- 
conPassione gmbh
CH-3661 Uetendorf
+41 33 345 00 92 

Am Montag, den 12.02.2018, 12:11 +0100 schrieb Sascha Ebner:

> Hallo,
> 
> ich hab keinen Tipp, aber ich kann bestätigen ich hab diese Exception auch 
> bei mir bei TYPO3 CMS 8.7.9, auch nur im BE bei Klick auf Vorschau Button, im 
> FE funktioniert das Formular.
> 
> Gruß
> Sascha
> ___
> TYPO3-german mailing list
> TYPO3-german@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Re: [TYPO3-german] Form extension - Exception bei Vorschau von Formularen

2018-02-12 Diskussionsfäden Sascha Ebner

Hallo,

ich hab keinen Tipp, aber ich kann bestätigen ich hab diese Exception auch bei 
mir bei TYPO3 CMS 8.7.9, auch nur im BE bei Klick auf Vorschau Button, im FE 
funktioniert das Formular.

Gruß
Sascha
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

[TYPO3-german] Form extension - Exception bei Vorschau von Formularen

2018-01-23 Diskussionsfäden Thomas Boehm
Hallo allerseits,

ich habe folgendes Problem gestern bereits in die englische Newsgroup
gepostet, diese scheint aber nicht so frequentiert zu sein wie diese.

Mit dem Update auf Typo3 8 muessen wir wohl vom Formhandler auf Form
umsteigen. Wir haben zum Test ein einfaches Formular bestehend aus einem
Textfeld erstellt. Dieses wird auch im Frontend angezeigt.

Im Backend wird jedoch beim Klick auf "Vorschau" folgender Fehler
ausgegeben:

#1297759968: Exception while property mapping at property
path "": No converter found which can be used to convert from "string"
to "array".

Im Apache-Log wird ein Fehler 500 ausgegeben. Ich habe es auch mit einer
komplett neuen Typo3 8.7.9 Version sowie 8.7.10 vom Github mit dem
selben Ergebnis versucht.

Soweit ich das im Typoscript-Analyzer sehe, wird  die YAML Registrierung
fuer Back- und Frontend automatisch ins Typoscript eingebunden.

Kann mir hier jemand einen Tipp geben, was ich uebersehen habe? Unten
haenge ich mal die komplette Fehlermeldung dran.

Danke schonmal fuer Antworten
Thomas



Uncaught TYPO3 Exception
#1297759968: Exception while property mapping at property path "": No
converter found which can be used to convert from "string" to "array".
(More information)

TYPO3\CMS\Extbase\Property\Exception thrown in file
/var/www/html/testsystem8/typo3_src-8.7.9/typo3/sysext/extbase/Classes/Property/PropertyMapper.php
in line 127.

14
TYPO3\CMS\Extbase\Property\PropertyMapper::convert("{"renderingOptions":{"submitButtonLabel":"LOS"},"t…d"}},"validators":[{"identifier":"NotEmpty"}]}]}]}",
"array", TYPO3\CMS\Extbase\Mvc\Controller\MvcPropertyMappingConfiguration)


/var/www/html/testsystem8/typo3_src-8.7.9/typo3/sysext/extbase/Classes/Mvc/Controller/Argument.php:

00268: }
00269: try {

00270: $this->value =
$this->propertyMapper->convert($rawValue, $this->dataType,
$this->propertyMappingConfiguration);

00271: } catch (TargetNotFoundException $e) {
00272: // for optional arguments no exeption is thrown.


13
TYPO3\CMS\Extbase\Mvc\Controller\Argument::setValue("{"renderingOptions":{"submitButtonLabel":"LOS"},"t…d"}},"validators":[{"identifier":"NotEmpty"}]}]}]}")


/var/www/html/testsystem8/typo3_src-8.7.9/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php:

00421: $argumentName = $argument->getName();
00422: if ($this->request->hasArgument($argumentName)) {

00423:
$argument->setValue($this->request->getArgument($argumentName));

00424: } elseif ($argument->isRequired()) {
00425: throw new
\TYPO3\CMS\Extbase\Mvc\Controller\Exception\RequiredArgumentMissingException('Required
argument "' . $argumentName . '" is not set for ' .
$this->request->getControllerObjectName() . '->' .
$this->request->getControllerActionName() . '.', 1298012500);


12
TYPO3\CMS\Extbase\Mvc\Controller\AbstractController::mapRequestArgumentsToControllerArguments()


/var/www/html/testsystem8/typo3_src-8.7.9/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:

00168: call_user_func([$this, $actionInitializationMethodName]);
00169: }

00170: $this->mapRequestArgumentsToControllerArguments();

00171: $this->controllerContext = $this->buildControllerContext();
00172: $this->view = $this->resolveView();


11
TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request,
TYPO3\CMS\Extbase\Mvc\Web\Response)


/var/www/html/testsystem8/typo3_src-8.7.9/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:

00083: $controller = $this->resolveController($request);
00084: try {

00085: $controller->processRequest($request, $response);

00086: } catch
(\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
00087: }


10
TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request,
TYPO3\CMS\Extbase\Mvc\Web\Response)


/var/www/html/testsystem8/typo3_src-8.7.9/typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php:

00030: /** @var $response
\TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00031: $response =
$this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);

00032: $this->dispatcher->dispatch($request, $response);

00033: return $response;
00034: }


9 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler::handleRequest()


/var/www/html/testsystem8/typo3_src-8.7.9/typo3/sysext/extbase/Classes/Core/Bootstrap.php:

00197: $requestHandler =
$requestHandlerResolver->resolveRequestHandler();
00198:

00199: $response = $requestHandler->handleRequest();

00200: // If response is NULL after handling the request we need
to stop
00201: // This happens for instance, when a USER object was
converted to a USER_INT


8 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest()