[BUGFIX] Fix exporting content elements 03/29903/2
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 6 May 2014 19:48:45 +0000 (21:48 +0200)
committerMarc Bastian Heinrichs <typo3@mbh-software.de>
Tue, 6 May 2014 21:19:45 +0000 (23:19 +0200)
Exporting a content element leads to a fatal error.
A wrong url encoding is the cause of the problem.

Resolves: #58576
Releases: 6.2
Change-Id: Ib2105aa9dc95e35eba9515cfc3d62b174919870a
Reviewed-on: https://review.typo3.org/29903
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
typo3/sysext/impexp/Classes/Clickmenu.php

index faad165..e305e04 100644 (file)
@@ -61,7 +61,7 @@ class Clickmenu {
                                $urlParameters['tx_impexp']['pagetree']['levels'] = 0;
                                $urlParameters['tx_impexp']['pagetree']['tables'][] = '_ALL';
                        } else {
-                               $urlParameters['tx_impexp']['record'][] = rawurlencode($table . ':' . $uid);
+                               $urlParameters['tx_impexp']['record'][] = $table . ':' . $uid;
                                $urlParameters['tx_impexp']['external_ref']['tables'][] = '_ALL';
                        }
                        $url = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('xMOD_tximpexp', $urlParameters);