[BUGFIX] Fix routing exception for "Status report" module 47/56347/4
authorMathias Brodala <mbrodala@pagemachine.de>
Sun, 18 Mar 2018 10:03:01 +0000 (11:03 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Sun, 18 Mar 2018 10:21:30 +0000 (11:21 +0100)
This fixes an error caused by the admin account status check which is
only executed for admin accounts with insecure passwords.

Change-Id: Ie81ee81ef61445397d6a062e285ebdbca2c5e6d7
Resolves: #84465
Releases: master
Reviewed-on: https://review.typo3.org/56347
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php

index 33a354a..d070540 100644 (file)
@@ -115,7 +115,7 @@ class SecurityStatus implements StatusProviderInterface
                     'record_edit',
                     [
                         'edit[be_users][' . $row['uid'] . ']' => 'edit',
-                        'returnUrl' => (string)$uriBuilder->buildUriFromRoute('system_ReportsTxreportsm1')
+                        'returnUrl' => (string)$uriBuilder->buildUriFromRoute('system_reports')
                     ]
                 );
                 $message = sprintf(