[BUGFIX] Adjust paths for fsc static template during migration 97/51697/3
authorJan Kiesewetter <jan@t3easy.de>
Wed, 15 Feb 2017 13:40:58 +0000 (14:40 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 15 Feb 2017 16:53:37 +0000 (17:53 +0100)
Resolves: #79828
Releases: master
Change-Id: Ibf3da0d9a181004340038762ef548b10883406b8
Reviewed-on: https://review.typo3.org/51697
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/install/Classes/Updates/MigrateFscStaticTemplateUpdate.php

index cbe28d4..f66cc5f 100644 (file)
@@ -84,22 +84,22 @@ class MigrateFscStaticTemplateUpdate extends AbstractUpdate
                 $queryBuilder->expr()->orX(
                     $queryBuilder->expr()->like(
                         'constants',
-                        $queryBuilder->createNamedParameter('%EXT:fluid_styled_content/TypoScript/Static%', \PDO::PARAM_STR)
+                        $queryBuilder->createNamedParameter('%EXT:fluid_styled_content/Configuration/TypoScript/Static%', \PDO::PARAM_STR)
                     ),
                     $queryBuilder->expr()->like(
                         'config',
-                        $queryBuilder->createNamedParameter('%EXT:fluid_styled_content/TypoScript/Static%', \PDO::PARAM_STR)
+                        $queryBuilder->createNamedParameter('%EXT:fluid_styled_content/Configuration/TypoScript/Static%', \PDO::PARAM_STR)
                     ),
                     $queryBuilder->expr()->like(
                         'include_static_file',
-                        $queryBuilder->createNamedParameter('%EXT:fluid_styled_content/TypoScript/Static%', \PDO::PARAM_STR)
+                        $queryBuilder->createNamedParameter('%EXT:fluid_styled_content/Configuration/TypoScript/Static%', \PDO::PARAM_STR)
                     )
                 )
             )
             ->execute();
         while ($record = $statement->fetch()) {
-            $search = 'EXT:fluid_styled_content/TypoScript/Static';
-            $replace = 'EXT:fluid_styled_content/TypoScript';
+            $search = 'EXT:fluid_styled_content/Configuration/TypoScript/Static';
+            $replace = 'EXT:fluid_styled_content/Configuration/TypoScript';
             $record['include_static_file'] = str_replace($search, $replace, $record['include_static_file']);
             $record['constants'] = str_replace($search, $replace, $record['constants']);
             $record['config'] = str_replace($search, $replace, $record['config']);