Skip to content
Snippets Groups Projects
Commit b6528558 authored by Wouter Wolters's avatar Wouter Wolters Committed by Georg Ringer
Browse files

[BUGFIX] Fix misleading hint in Mvc/Dispatcher

The new property mapper is enabled by default now.
Due to this the hint inside the exception is misleading.
It hints now to the new @ignorevalidation annotation.

The old one annotation will stay.

Change-Id: I6a7f213f38a72a3b7676af5b1bf07f879fb99253
Resolves: #52198
Releases: 6.2
Reviewed-on: https://review.typo3.org/23999
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
parent a74461d4
No related merge requests found
......@@ -76,7 +76,7 @@ class Dispatcher implements \TYPO3\CMS\Core\SingletonInterface {
$dispatchLoopCount = 0;
while (!$request->isDispatched()) {
if ($dispatchLoopCount++ > 99) {
throw new \TYPO3\CMS\Extbase\Mvc\Exception\InfiniteLoopException('Could not ultimately dispatch the request after ' . $dispatchLoopCount . ' iterations. Most probably, a @dontvalidate annotation is missing on re-displaying a form with validation errors.', 1217839467);
throw new \TYPO3\CMS\Extbase\Mvc\Exception\InfiniteLoopException('Could not ultimately dispatch the request after ' . $dispatchLoopCount . ' iterations. Most probably, a @ignorevalidation or @dontvalidate (old propertymapper) annotation is missing on re-displaying a form with validation errors.', 1217839467);
}
$controller = $this->resolveController($request);
try {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment