[BUGFIX] ImpExp: Do not show error message for recursive relations 97/45897/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 14 Jan 2016 17:24:54 +0000 (18:24 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 14 Jan 2016 19:46:16 +0000 (20:46 +0100)
Having recursive relations of records is a valid use case and must
not trigger an error message.

Releases: master, 7.6, 6.2
Resolves: #72709
Change-Id: I22a6216bca69fad33ab99387524965728757c057
Reviewed-on: https://review.typo3.org/45897
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/impexp/Classes/ImportExport.php

index 47fe0c3..1e4fc9b 100644 (file)
@@ -3826,7 +3826,6 @@ class ImportExport
             $pInfo = array();
             $pInfo['ref'] = $table . ':' . $uid;
             if (in_array($pInfo['ref'], $recurCheck)) {
-                $this->error($pInfo['ref'] . ' was recursive...');
                 continue;
             }
             $iconName = 'status-status-checked';