Commit 73996f22 authored by Benni Mack's avatar Benni Mack Committed by Wouter Wolters
Browse files

[!!!][TASK] Move EXT:func_wizard to legacy extension

Web=>Functions=>Wizard is not needed
anymore, as both wizard extensions hook
into Web=>Functions directly since TYPO3 CMS 7.

For compatibility reasons the
WizardControllerModuleFunction is kept
(e.g. for templavoila) but moved to EXT:compatibility6.

The whole "func_wizard" Extension is not
needed anymore and is removed.

Resolves: #63687
Releases: master
Change-Id: I58e93652859bbdb816335322a9b964ec14cb84ee
Reviewed-on: http://review.typo3.org/35171


Reviewed-by: Cedric Ziel's avatarCedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarSusanne Moog <typo3@susannemoog.de>
Tested-by: default avatarSusanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
parent e5e37a66
<?php
namespace TYPO3\CMS\FuncWizards\Controller;
namespace TYPO3\CMS\Compatibility6\Controller;
/**
* This file is part of the TYPO3 CMS project.
......
......@@ -1021,7 +1021,8 @@ return array(
'tslib_AdminPanel' => \TYPO3\CMS\Frontend\View\AdminPanelView::class,
'tslib_adminPanelHook' => \TYPO3\CMS\Frontend\View\AdminPanelViewHookInterface::class,
'SC_mod_web_func_index' => \TYPO3\CMS\Func\Controller\PageFunctionsController::class,
'tx_funcwizards_webfunc' => \TYPO3\CMS\FuncWizards\Controller\WebFunctionWizardsBaseController::class,
'tx_funcwizards_webfunc' => \TYPO3\CMS\Compatibility6\Controller\WebFunctionWizardsBaseController::class,
'TYPO3\\CMS\\FuncWizards\\Controller\\WebFunctionWizardsBaseController' => \TYPO3\CMS\Compatibility6\Controller\WebFunctionWizardsBaseController::class,
'tx_impexp_clickmenu' => \TYPO3\CMS\Impexp\Clickmenu::class,
'SC_mod_tools_log_index' => \TYPO3\CMS\Impexp\Controller\ImportExportController::class,
'tx_impexp' => \TYPO3\CMS\Impexp\ImportExport::class,
......
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1415814826" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:33Z" product-name="func_wizards">
<file t3:id="1415814826" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:33Z" product-name="compatibility6">
<header/>
<body>
<trans-unit id="wiz_lWizards" xml:space="preserve">
......
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1415814827" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:33Z" product-name="func_wizards">
<file t3:id="1415814827" source-language="en" datatype="plaintext" original="messages" date="2011-10-17T20:22:33Z" product-name="compatibility6">
<header/>
<body>
<trans-unit id="tx_funcwizards.alttitle" xml:space="preserve">
......
......@@ -4,9 +4,9 @@ defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
'web_func',
\TYPO3\CMS\FuncWizards\Controller\WebFunctionWizardsBaseController::class,
\TYPO3\CMS\Compatibility6\Controller\WebFunctionWizardsBaseController::class,
NULL,
'LLL:EXT:func_wizards/locallang.xlf:mod_wizards'
'LLL:EXT:compatibility6/Resources/Private/Language/wizards.xlf:mod_wizards'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:func_wizards/locallang_csh.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:compatibility6/Resources/Private/Language/wizards_csh.xlf');
}
====================================================================
Breaking: #63687 - Web=>Functions=>Wizards moved to legacy extension
====================================================================
Description
===========
Within the "Web" => "Functions" module there is a nested layer called "Wizards" where "Sort pages" and
"Bulk-create new pages" resided until TYPO3 CMS 7.1. These are now moved directly underneath "Web" => "Functions",
so the "Wizards" module function becomes obsolete, and with it the whole extension called "func_wizards" that provided
this nested layer. The module function "Wizards" has been moved to the legacy extension "compatibility6". The
extension "func_wizards" has been completely removed from the core.
Impact
======
The existing "Functions" provided by the TYPO3 CMS Core are now directly dependant and hooked into "Web" => "Functions".
Any extensions using "Web" => "Functions" => "Wizards" will not show up anymore.
Affected installations
======================
TYPO3 CMS 7 installations need compatibility6 extension loaded if old extensions are still hook into
"Web" => "Functions" => "Wizards".
Migration
=========
Any extension hooking into "Web" => "Functions" => "Wizards" need to be adapted. In their ext_tables.php the
"insertModuleFunciton" call does not need to have a 5th parameter given. The compatibility6 extension is then not
needed anymore.
{
"name": "typo3/cms-func-wizards",
"type": "typo3-cms-framework",
"description": "TYPO3 Core",
"homepage": "http://typo3.org",
"license": ["GPL-2.0+"],
"version": "7.1.0",
"require": {
"typo3/cms-core": "*"
},
"replace": {
"func_wizards": "*"
},
"extra": {
"typo3/cms": {
"Package": {
"partOfFactoryDefault": true
}
}
}
}
<?php
$EM_CONF[$_EXTKEY] = array(
'title' => 'Web>Func, Wizards',
'description' => 'Adds the \'Wizards\' item to the function menu in Web>Func. This is just a framework for wizard extensions.',
'category' => 'module',
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'author' => 'Kasper Skaarhoj',
'author_email' => 'kasperYYYY@typo3.com',
'author_company' => 'Curby Soft Multimedia',
'version' => '7.1.0',
'_md5_values_when_last_written' => '',
'constraints' => array(
'depends' => array(
'typo3' => '7.1.0-7.1.99',
'func' => '7.1.0-7.1.99',
),
'conflicts' => array(),
'suggests' => array(),
),
);
Supports Markdown
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