[!!!][TASK] Drop deprecated code from EditDocumentController 42/59242/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Dec 2018 14:19:34 +0000 (15:19 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 20 Dec 2018 15:49:40 +0000 (16:49 +0100)
Resolves: #87242
Releases: master
Change-Id: I29a7b417b3705aec3743692b70adbae97f6fbfe3
Reviewed-on: https://review.typo3.org/59242
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-87193-DeprecatedFunctionalityRemoved.rst
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyProtectedMatcher.php

index c1594a0..4368192 100644 (file)
@@ -28,8 +28,6 @@ use TYPO3\CMS\Backend\Routing\UriBuilder;
 use TYPO3\CMS\Backend\Template\Components\ButtonBar;
 use TYPO3\CMS\Backend\Template\ModuleTemplate;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
-use TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait;
-use TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Query\QueryBuilder;
 use TYPO3\CMS\Core\Database\Query\Restriction\BackendWorkspaceRestriction;
@@ -62,78 +60,11 @@ use TYPO3\CMS\Frontend\Page\PageRepository;
  */
 class EditDocumentController
 {
-    use PublicMethodDeprecationTrait;
-    use PublicPropertyDeprecationTrait;
-
-    /**
-     * @deprecated since TYPO3 v9. These constants will be set to protected in TYPO3 v10.0
-     */
-    public const DOCUMENT_CLOSE_MODE_DEFAULT = 0;
-    public const DOCUMENT_CLOSE_MODE_REDIRECT = 1; // works like DOCUMENT_CLOSE_MODE_DEFAULT
-    public const DOCUMENT_CLOSE_MODE_CLEAR_ALL = 3;
-    public const DOCUMENT_CLOSE_MODE_NO_REDIRECT = 4;
-
-    /**
-     * @var array
-     */
-    private $deprecatedPublicMethods = [
-        'makeEditForm' => 'Using EditDocumentController::makeEditForm() is deprecated and will not be possible anymore in TYPO3 v10.0.',
-        'compileForm' => 'Using EditDocumentController::compileForm() is deprecated and will not be possible anymore in TYPO3 v10.0.',
-        'languageSwitch' => 'Using EditDocumentController::languageSwitch() is deprecated and will not be possible anymore in TYPO3 v10.0.',
-        'getLanguages' => 'Using EditDocumentController::getLanguages() is deprecated and will not be possible anymore in TYPO3 v10.0.',
-        'fixWSversioningInEditConf' => 'Using EditDocumentController::fixWSversioningInEditConf() is deprecated and will not be possible anymore in TYPO3 v10.0.',
-        'getRecordForEdit' => 'Using EditDocumentController::getRecordForEdit() is deprecated and will not be possible anymore in TYPO3 v10.0.',
-    ];
-
-    /**
-     * Properties which have been moved to protected status from public
-     *
-     * @var array
-     */
-    private $deprecatedPublicProperties = [
-        'editconf' => 'Using $editconf of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'defVals' => 'Using $defVals of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'overrideVals' => 'Using $overrideVals of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'columnsOnly' => 'Using $columnsOnly of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'returnUrl' => 'Using $returnUrl of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'closeDoc' => 'Using $closeDoc of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'doSave' => 'Using $doSave of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'returnEditConf' => 'Using $returnEditConf of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'uc' => 'Using $uc of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'retUrl' => 'Using $retUrl of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'R_URL_parts' => 'Using $R_URL_parts of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'R_URL_getvars' => 'Using $R_URL_getvars of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'storeArray' => 'Using $storeArray of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'storeUrl' => 'Using $storeUrl of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'storeUrlMd5' => 'Using $storeUrlMd5 of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'docDat' => 'Using $docDat of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'docHandler' => 'Using $docHandler of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'cmd' => 'Using $cmd of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'mirror' => 'Using $mirror of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'cacheCmd' => 'Using $cacheCmd of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'redirect' => 'Using $redirect of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'returnNewPageId' => 'Using $returnNewPageId of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'popViewId' => 'Using $popViewId of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'popViewId_addParams' => 'Using $popViewId_addParams of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'viewUrl' => 'Using $viewUrl of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'recTitle' => 'Using $recTitle of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'noView' => 'Using $noView of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'MCONF' => 'Using $MCONF of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'doc' => 'Using $doc of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'perms_clause' => 'Using $perms_clause of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'template' => 'Using $template of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'content' => 'Using $content of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'R_URI' => 'Using $R_URI of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'pageinfo' => 'Using $pageinfo of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'storeTitle' => 'Using $storeTitle of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'firstEl' => 'Using $firstEl of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'errorC' => 'Using $errorC of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'newC' => 'Using $newC of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'viewId' => 'Using $viewId of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'viewId_addParams' => 'Using $viewId_addParams of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-        'modTSconfig' => 'Using $modTSconfig of class EditDocumentTemplate from the outside is discouraged, the variable will be removed.',
-        'dontStoreDocumentRef' => 'Using $dontStoreDocumentRef of class EditDocumentTemplate from the outside is discouraged, as this variable is only used for internal storage.',
-    ];
+    protected const DOCUMENT_CLOSE_MODE_DEFAULT = 0;
+    // works like DOCUMENT_CLOSE_MODE_DEFAULT
+    protected const DOCUMENT_CLOSE_MODE_REDIRECT = 1;
+    protected const DOCUMENT_CLOSE_MODE_CLEAR_ALL = 3;
+    protected const DOCUMENT_CLOSE_MODE_NO_REDIRECT = 4;
 
     /**
      * An array looking approx like [tablename][list-of-ids]=command, eg. "&edit[pages][123]=edit".
@@ -222,18 +153,6 @@ class EditDocumentController
     protected $mirror;
 
     /**
-     * @var string
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $cacheCmd;
-
-    /**
-     * @var string
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $redirect;
-
-    /**
      * Boolean: If set, then the GET var "&id=" will be added to the
      * retUrl string so that the NEW id of something is returned to the script calling the form.
      *
@@ -257,12 +176,6 @@ class EditDocumentController
     protected $popViewId;
 
     /**
-     * @var string
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $popViewId_addParams;
-
-    /**
      * Alternative URL for viewing the frontend pages.
      *
      * @var string
@@ -303,22 +216,6 @@ class EditDocumentController
     protected $workspace;
 
     /**
-     * @var \TYPO3\CMS\Backend\Template\DocumentTemplate
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $doc;
-
-    /**
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $template;
-
-    /**
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $content;
-
-    /**
      * parse_url() of current requested URI, contains ['path'] and ['query'] parts.
      *
      * @var array
@@ -342,12 +239,6 @@ class EditDocumentController
 
     /**
      * @var array
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $MCONF;
-
-    /**
-     * @var array
      */
     protected $pageinfo;
 
@@ -444,11 +335,6 @@ class EditDocumentController
     protected $viewId_addParams;
 
     /**
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-     */
-    protected $modTSconfig = [];
-
-    /**
      * @var FormResultCompiler
      */
     protected $formResultCompiler;
@@ -543,19 +429,10 @@ class EditDocumentController
      * First initialization, always called, even before processData() executes DataHandler processing.
      *
      * @param ServerRequestInterface $request
-     * @return ResponseInterface|null Possible redirect response
+     * @return ResponseInterface Possible redirect response
      */
-    public function preInit(ServerRequestInterface $request = null): ?ResponseInterface
+    protected function preInit(ServerRequestInterface $request): ?ResponseInterface
     {
-        if ($request === null) {
-            // Missing argument? This method must have been called from outside.
-            // Method will be protected and $request mandatory in TYPO3 v10.0, giving core freedom to move stuff around
-            // New v10 signature: "protected function preInit(ServerRequestInterface $request): ?ResponseInterface"
-            // @deprecated since TYPO3 v9, method argument $request will be set to mandatory
-            trigger_error('EditDocumentController->preInit() will be set to protected in TYPO3 v10.0. Do not call from other extension.', E_USER_DEPRECATED);
-            $request = $GLOBALS['TYPO3_REQUEST'];
-        }
-
         if ($response = $this->localizationRedirect($request)) {
             return $response;
         }
@@ -616,44 +493,13 @@ class EditDocumentController
     }
 
     /**
-     * Detects, if a save command has been triggered.
-     *
-     * @return bool TRUE, then save the document (data submitted)
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0
-     */
-    public function doProcessData()
-    {
-        trigger_error('EditDocumentController->doProcessData() will be removed in TYPO3 v10.0.', E_USER_DEPRECATED);
-
-        $out = $this->doSave
-            || isset($_POST['_savedok'])
-            || isset($_POST['_saveandclosedok'])
-            || isset($_POST['_savedokview'])
-            || isset($_POST['_savedoknew'])
-            || isset($_POST['_duplicatedoc']);
-        return $out;
-    }
-
-    /**
      * Do processing of data, submitting it to DataHandler. May return a RedirectResponse
      *
      * @param ServerRequestInterface $request
      * @return ResponseInterface|null
      */
-    public function processData(ServerRequestInterface $request = null): ?ResponseInterface
+    protected function processData(ServerRequestInterface $request): ?ResponseInterface
     {
-        // @deprecated Variable can be removed in TYPO3 v10.0
-        $deprecatedCaller = false;
-        if ($request === null) {
-            // Missing argument? This method must have been called from outside.
-            // Method will be protected and $request mandatory in TYPO3 v10.0, giving core freedom to move stuff around
-            // New v10 signature: "protected function processData(ServerRequestInterface $request): ?ResponseInterface"
-            // @deprecated since TYPO3 v9, method argument $request will be set to mandatory
-            trigger_error('EditDocumentController->processData() will be set to protected in TYPO3 v10.0. Do not call from other extension.', E_USER_DEPRECATED);
-            $request = $GLOBALS['TYPO3_REQUEST'];
-            $deprecatedCaller = true;
-        }
-
         $parsedBody = $request->getParsedBody();
         $queryParams = $request->getQueryParams();
 
@@ -663,10 +509,6 @@ class EditDocumentController
         $this->data = $parsedBody['data'] ?? $queryParams['data'] ?? [];
         $this->cmd = $parsedBody['cmd'] ?? $queryParams['cmd'] ?? [];
         $this->mirror = $parsedBody['mirror'] ?? $queryParams['mirror'] ?? [];
-        // @deprecated property cacheCmd is unused and can be removed in TYPO3 v10.0
-        $this->cacheCmd = $parsedBody['cacheCmd'] ?? $queryParams['cacheCmd'] ?? null;
-        // @deprecated property redirect is unused and can be removed in TYPO3 v10.0
-        $this->redirect = $parsedBody['redirect'] ?? $queryParams['redirect'] ?? null;
         $this->returnNewPageId = (bool)($parsedBody['returnNewPageId'] ?? $queryParams['returnNewPageId'] ?? false);
 
         // Only options related to $this->data submission are included here
@@ -884,12 +726,7 @@ class EditDocumentController
             || isset($parsedBody['_saveandclosedok'])
         ) {
             // Redirect if element should be closed after save
-            $possibleRedirect = $this->closeDocument(abs($this->closeDoc), $request);
-            if ($deprecatedCaller && $possibleRedirect) {
-                // @deprecated fall back if method has been called from outside. This if can be removed in TYPO3 v10.0
-                HttpUtility::redirect($possibleRedirect->getHeaders()['location'][0]);
-            }
-            return $possibleRedirect;
+            return $this->closeDocument(abs($this->closeDoc), $request);
         }
         return null;
     }
@@ -899,25 +736,13 @@ class EditDocumentController
      *
      * @param ServerRequestInterface $request
      */
-    public function init(ServerRequestInterface $request = null): void
+    protected function init(ServerRequestInterface $request): void
     {
-        if ($request === null) {
-            // Missing argument? This method must have been called from outside.
-            // Method will be protected and $request mandatory in TYPO3 v10.0, giving core freedom to move stuff around
-            // New v10 signature: "protected function init(ServerRequestInterface $request): void
-            // @deprecated since TYPO3 v9, method argument $request will be set to mandatory
-            trigger_error('EditDocumentController->init() will be set to protected in TYPO3 v10.0. Do not call from other extension.', E_USER_DEPRECATED);
-            $request = $GLOBALS['TYPO3_REQUEST'];
-        }
-
         $parsedBody = $request->getParsedBody();
         $queryParams = $request->getQueryParams();
 
         $beUser = $this->getBackendUser();
 
-        // @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused, remove call in TYPO3 v10.0
-        $this->popViewId_addParams = $parsedBody['popViewId_addParams'] ?? $queryParams['popViewId_addParams'] ?? '';
-
         $this->popViewId = (int)($parsedBody['popViewId'] ?? $queryParams['popViewId'] ?? 0);
         $this->viewUrl = (string)($parsedBody['viewUrl'] ?? $queryParams['viewUrl'] ?? '');
         $this->recTitle = (string)($parsedBody['recTitle'] ?? $queryParams['recTitle'] ?? '');
@@ -927,11 +752,6 @@ class EditDocumentController
         $this->R_URL_getvars['returnUrl'] = $this->retUrl;
         $this->R_URI = $this->R_URL_parts['path'] . HttpUtility::buildQueryString($this->R_URL_getvars, '?');
 
-        // @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-        $this->MCONF['name'] = 'xMOD_alt_doc.php';
-        // @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0, unused
-        $this->doc = $GLOBALS['TBE_TEMPLATE'];
-
         $pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
         $pageRenderer->addInlineLanguageLabelFile('EXT:backend/Resources/Private/Language/locallang_alt_doc.xlf');
 
@@ -940,18 +760,6 @@ class EditDocumentController
         $this->moduleTemplate->addJavaScriptCode(
             'jumpToUrl',
             '
-            // Info view:
-            function launchView(table,uid) {
-                console.warn(\'Calling launchView() has been deprecated in TYPO3 v9 and will be removed in TYPO3 v10.0\');
-                var thePreviewWindow = window.open(
-                    ' . GeneralUtility::quoteJSvalue((string)$uriBuilder->buildUriFromRoute('show_item') . '&table=') . ' + encodeURIComponent(table) + "&uid=" + encodeURIComponent(uid),
-                    "ShowItem" + Math.random().toString(16).slice(2),
-                    "height=300,width=410,status=0,menubar=0,resizable=0,location=0,directories=0,scrollbars=1,toolbar=0"
-                );
-                if (thePreviewWindow && thePreviewWindow.focus) {
-                    thePreviewWindow.focus();
-                }
-            }
             function deleteRecord(table,id,url) {
                 window.location.href = ' . GeneralUtility::quoteJSvalue((string)$uriBuilder->buildUriFromRoute('tce_db') . '&cmd[') . '+table+"]["+id+"][delete]=1&redirect="+escape(url);
             }
@@ -1158,14 +966,8 @@ class EditDocumentController
      *
      * @param ServerRequestInterface $request
      */
-    public function main(ServerRequestInterface $request = null): void
+    protected function main(ServerRequestInterface $request): void
     {
-        if ($request === null) {
-            // Set method signature in TYPO3 v10.0 to: "protected function main(ServerRequestInterface $request): void"
-            trigger_error('EditDocumentController->main() will be set to protected in TYPO3 v10.0.', E_USER_DEPRECATED);
-            $request = $GLOBALS['TYPO3_REQUEST'];
-        }
-
         $body = '';
         // Begin edit
         if (is_array($this->editconf)) {
@@ -2098,60 +1900,6 @@ class EditDocumentController
     }
 
     /**
-     * Create shortcut icon
-     *
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0
-     */
-    public function shortCutLink()
-    {
-        trigger_error('EditDocumentController->shortCutLink() will be removed in TYPO3 v10.0.', E_USER_DEPRECATED);
-
-        if ($this->returnUrl !== $this->getCloseUrl()) {
-            $shortCutButton = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar()->makeShortcutButton();
-            $shortCutButton->setModuleName('xMOD_alt_doc.php')
-                ->setGetVariables([
-                    'returnUrl',
-                    'edit',
-                    'defVals',
-                    'overrideVals',
-                    'columnsOnly',
-                    'returnNewPageId',
-                    'noView']);
-            $this->moduleTemplate->getDocHeaderComponent()->getButtonBar()->addButton($shortCutButton);
-        }
-    }
-
-    /**
-     * Creates open-in-window link
-     *
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0
-     */
-    public function openInNewWindowLink()
-    {
-        trigger_error('EditDocumentController->openInNewWindowLink() will be removed in TYPO3 v10.0.', E_USER_DEPRECATED);
-
-        $closeUrl = $this->getCloseUrl();
-        if ($this->returnUrl !== $closeUrl) {
-            $aOnClick = 'vHWin=window.open(' . GeneralUtility::quoteJSvalue(GeneralUtility::linkThisScript(
-                ['returnUrl' => $closeUrl]
-            ))
-                . ','
-                . GeneralUtility::quoteJSvalue(md5($this->R_URI))
-                . ',\'width=670,height=500,status=0,menubar=0,scrollbars=1,resizable=1\');vHWin.focus();return false;';
-            $openInNewWindowButton = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar()
-                ->makeLinkButton()
-                ->setHref('#')
-                ->setTitle($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.openInNewWindow'))
-                ->setIcon($this->moduleTemplate->getIconFactory()->getIcon('actions-window-open', Icon::SIZE_SMALL))
-                ->setOnClick($aOnClick);
-            $this->moduleTemplate->getDocHeaderComponent()->getButtonBar()->addButton(
-                $openInNewWindowButton,
-                ButtonBar::BUTTON_POSITION_RIGHT
-            );
-        }
-    }
-
-    /**
      * Returns if delete for the current table is disabled by configuration.
      * For sys_file_metadata in default language delete is always disabled.
      *
@@ -2349,19 +2097,9 @@ class EditDocumentController
      * @param ServerRequestInterface $request Incoming request object
      * @return ResponseInterface|null Possible redirect response
      */
-    public function localizationRedirect(ServerRequestInterface $request = null): ?ResponseInterface
+    protected function localizationRedirect(ServerRequestInterface $request): ?ResponseInterface
     {
-        $deprecatedCaller = false;
-        if (!$request instanceof ServerRequestInterface) {
-            // @deprecated since TYPO3 v9
-            // Method signature in TYPO3 v10.0: protected function localizationRedirect(ServerRequestInterface $request): ?ResponseInterface
-            trigger_error('EditDocumentController->localizationRedirect() will be set to protected in TYPO3 v10.0. Do not call from other extension.', E_USER_DEPRECATED);
-            $justLocalized = $request;
-            $request = $GLOBALS['TYPO3_REQUEST'];
-            $deprecatedCaller = true;
-        } else {
-            $justLocalized = $request->getQueryParams()['justLocalized'];
-        }
+        $justLocalized = $request->getQueryParams()['justLocalized'];
 
         if (empty($justLocalized)) {
             return null;
@@ -2397,15 +2135,6 @@ class EditDocumentController
                 ->fetch();
             $returnUrl = $parsedBody['returnUrl'] ?? $queryParams['returnUrl'] ?? '';
             if (is_array($localizedRecord)) {
-                if ($deprecatedCaller) {
-                    // @deprecated fall back if method has been called from outside. This if can be removed in TYPO3 v10.0
-                    $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
-                    $location = (string)$uriBuilder->buildUriFromRoute('record_edit', [
-                        'edit[' . $table . '][' . $localizedRecord['uid'] . ']' => 'edit',
-                        'returnUrl' => GeneralUtility::sanitizeLocalUrl($returnUrl)
-                    ]);
-                    HttpUtility::redirect($location);
-                }
                 // Create redirect response to self to edit just created record
                 $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
                 return new RedirectResponse(
@@ -2575,17 +2304,6 @@ class EditDocumentController
 
     /**
      * Populates the variables $this->storeArray, $this->storeUrl, $this->storeUrlMd5
-     *
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0
-     */
-    public function compileStoreDat()
-    {
-        trigger_error('EditDocumentController->compileStoreDat() will be removed in TYPO3 v10.0.', E_USER_DEPRECATED);
-        $this->compileStoreData();
-    }
-
-    /**
-     * Populates the variables $this->storeArray, $this->storeUrl, $this->storeUrlMd5
      * to prepare 'open documents' urls
      */
     protected function compileStoreData(): void
@@ -2600,21 +2318,6 @@ class EditDocumentController
     }
 
     /**
-     * Function used to look for configuration of buttons in the form: Fx. disabling buttons or showing them at various
-     * positions.
-     *
-     * @param string $table The table for which the configuration may be specific
-     * @param string $key The option for look for. Default is checking if the saveDocNew button should be displayed.
-     * @return string Return value fetched from USER TSconfig
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0
-     */
-    public function getNewIconMode($table, $key = 'saveDocNew')
-    {
-        trigger_error('EditDocumentController->getNewIconMode() will be removed in TYPO3 v10.0.', E_USER_DEPRECATED);
-        return $this->getTsConfigOption($table, $key);
-    }
-
-    /**
      * Get a TSConfig 'option.' array, possibly for a specific table.
      *
      * @param string $table Table name
@@ -2642,17 +2345,8 @@ class EditDocumentController
      * @param ServerRequestInterface $request Incoming request
      * @return ResponseInterface|null Redirect response if needed
      */
-    public function closeDocument($mode = self::DOCUMENT_CLOSE_MODE_DEFAULT, ServerRequestInterface $request = null): ?ResponseInterface
+    protected function closeDocument($mode, ServerRequestInterface $request): ?ResponseInterface
     {
-        // Foreign class call or missing argument? Method will be protected and $request mandatory in TYPO3 v10.0, giving core freedom to move stuff around
-        $deprecatedCaller = false;
-        if ($request === null) {
-            // Set method signature in TYPO3 v10.0 to: "protected function closeDocument($mode, ServerRequestInterface $request): ?ResponseInterface"
-            trigger_error('EditDocumentController->closeDocument will be set to protected in TYPO3 v10.0.', E_USER_DEPRECATED);
-            $request = $GLOBALS['TYPO3_REQUEST'];
-            $deprecatedCaller = true;
-        }
-
         $mode = (int)$mode;
         // If current document is found in docHandler,
         // then unset it, possibly unset it ALL and finally, write it to the session data
@@ -2688,10 +2382,6 @@ class EditDocumentController
         }
         // If mode is NOT set (means 0) OR set to 1, then make a header location redirect to $this->retUrl
         if ($mode === self::DOCUMENT_CLOSE_MODE_DEFAULT || $mode === self::DOCUMENT_CLOSE_MODE_REDIRECT) {
-            if ($deprecatedCaller) {
-                // @deprecated fall back if method has been called from outside. This if can be removed in TYPO3 v10.0
-                HttpUtility::redirect($this->retUrl);
-            }
             return new RedirectResponse($this->retUrl, 303);
         }
         if ($this->retUrl === '') {
@@ -2704,42 +2394,10 @@ class EditDocumentController
                 $retUrl = $sParts['path'] . '?' . $setupArr[2] . '&returnUrl=' . rawurlencode($retUrl);
             }
         }
-        if ($deprecatedCaller) {
-            // @deprecated fall back if method has been called from outside. This if can be removed in TYPO3 v10.0
-            HttpUtility::redirect($retUrl);
-        }
         return new RedirectResponse($retUrl, 303);
     }
 
     /**
-     * Redirects to the document pointed to by $currentDocFromHandlerMD5 OR $retUrl,
-     * depending on some internal calculations.
-     *
-     * @param string $currentDocFromHandlerMD5 Pointer to the document in the docHandler array
-     * @param string $retUrl Alternative/Default retUrl
-     * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0
-     */
-    public function setDocument($currentDocFromHandlerMD5 = '', $retUrl = '')
-    {
-        trigger_error('EditDocumentController->setDocument() will be removed in TYPO3 v10.0.', E_USER_DEPRECATED);
-        if ($retUrl === '') {
-            return;
-        }
-        if (is_array($this->docHandler) && !empty($this->docHandler)) {
-            if (isset($this->docHandler[$currentDocFromHandlerMD5])) {
-                $setupArr = $this->docHandler[$currentDocFromHandlerMD5];
-            } else {
-                $setupArr = reset($this->docHandler);
-            }
-            if ($setupArr[2]) {
-                $sParts = parse_url(GeneralUtility::getIndpEnv('REQUEST_URI'));
-                $retUrl = $sParts['path'] . '?' . $setupArr[2] . '&returnUrl=' . rawurlencode($retUrl);
-            }
-        }
-        HttpUtility::redirect($retUrl);
-    }
-
-    /**
      * Emits a signal after a function was executed
      *
      * @param string $signalName
index 59a14b8..4443203 100644 (file)
@@ -163,6 +163,12 @@ The following PHP class aliases that have been previously deprecated for v9 have
 
 The following PHP class methods that have been previously deprecated for v9 have been removed:
 
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->compileStoreDat()`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->doProcessData()`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->getNewIconMode()`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->openInNewWindowLink()`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->setDocument()`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->shortCutLink()`
 * :php:`TYPO3\CMS\Backend\FrontendBackendUserAuthentication->initializeAdminPanel()`
 * :php:`TYPO3\CMS\Backend\FrontendBackendUserAuthentication->initializeFrontendEdit()`
 * :php:`TYPO3\CMS\Backend\FrontendBackendUserAuthentication->isFrontendEditingActive()`
@@ -347,6 +353,13 @@ The following methods changed signature according to previous deprecations in v9
 
 The following public class properties have been dropped:
 
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->cacheCmd`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->content`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->doc`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->MCONF`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->popViewId_addParams`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->redirect`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->template`
 * :php:`TYPO3\CMS\Backend\FrontendBackendUserAuthentication->extAdmEnabled`
 * :php:`TYPO3\CMS\Backend\FrontendBackendUserAuthentication->adminPanel`
 * :php:`TYPO3\CMS\Backend\FrontendBackendUserAuthentication->frontendEdit`
@@ -384,6 +397,18 @@ The following public class properties have been dropped:
 
 The following class methods have changed visibility:
 
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->closeDocument()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->compileForm()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->fixWSversioningInEditConf()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->getLanguages()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->getRecordForEdit()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->init()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->languageSwitch()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->localizationRedirect()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->main()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->makeEditForm()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->preInit()` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->processData()` changed from public to protected
 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->base64Encode()` changed from public to protected
 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->isValidSalt()` changed from public to protected
 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->base64Encode()` changed from public to protected
@@ -432,13 +457,46 @@ The following class methods have changed visibility:
 
 The following class properties have changed visibility:
 
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->closeDoc` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->cmd` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->columnsOnly` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->defVals` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->docDat` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->docHandler` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->dontStoreDocumentRef` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->doSave` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->editconf` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->errorC` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->firstEl` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->mirror` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->modTSconfig` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->newC` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->noView` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->overrideVals` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->pageinfo` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->popViewId` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->perms_clause` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->recTitle` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->retUrl` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->returnUrl` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->returnEditConf` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->returnNewPageId` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->R_URI` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->R_URL_getvars` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->R_URL_parts` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->storeArray` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->storeTitle` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->storeUrl` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->storeUrlMd5` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->uc` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->viewId` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->viewId_addParams` changed from public to protected
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController->viewUrl` changed from public to protected
 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->eucBasedSets` changed from public to protected
 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->noCharByteVal` changed from public to protected
 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->parsedCharsets` changed from public to protected
 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->toASCII` changed from public to protected
 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->twoByteSets` changed from public to protected
-* :php:`TYPO3\CMS\Frontend\Page\PageRepository->sys_language_uid` changed from public to protected
-* :php:`TYPO3\CMS\Frontend\Page\PageRepository->versioningWorkspaceId` changed from public to protected
 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->absoluteRootLine` changed from public to protected
 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->matchAll` changed from public to protected
 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->nextLevel` changed from public to protected
@@ -461,6 +519,8 @@ The following class properties have changed visibility:
 * :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->tempContent` changed from public to protected
 * :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->uniqueCounter` changed from public to protected
 * :php:`TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->uniqueString` changed from public to protected
+* :php:`TYPO3\CMS\Frontend\Page\PageRepository->sys_language_uid` changed from public to protected
+* :php:`TYPO3\CMS\Frontend\Page\PageRepository->versioningWorkspaceId` changed from public to protected
 * :php:`TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController->access` changed from public to protected
 * :php:`TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController->CMD` changed from public to protected
 * :php:`TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateModuleController->content` changed from public to protected
@@ -542,6 +602,14 @@ The following constants have been dropped:
 * :php:`TYPO3\CMS\Core\Utility\GeneralUtility::SYSLOG_SEVERITY_WARNING`
 
 
+The following constants have been set to protected:
+
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController::DOCUMENT_CLOSE_MODE_CLEAR_ALL`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController::DOCUMENT_CLOSE_MODE_DEFAULT`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController::DOCUMENT_CLOSE_MODE_NO_REDIRECT`
+* :php:`TYPO3\CMS\Backend\Controller\EditDocumentController::DOCUMENT_CLOSE_MODE_REDIRECT`
+
+
 The following global options are ignored:
 
 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/saltedpasswords']['saltMethods']`
index 995a2db..145499b 100644 (file)
@@ -2031,6 +2031,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->doProcessData' => [
@@ -2038,6 +2039,7 @@ return [
         'maximumNumberOfArguments' => 0,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->processData' => [
@@ -2045,6 +2047,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->makeEditForm' => [
@@ -2052,6 +2055,7 @@ return [
         'maximumNumberOfArguments' => 0,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->compileForm' => [
@@ -2059,6 +2063,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->shortCutLink' => [
@@ -2066,6 +2071,7 @@ return [
         'maximumNumberOfArguments' => 0,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->openInNewWindowLink' => [
@@ -2073,6 +2079,7 @@ return [
         'maximumNumberOfArguments' => 0,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->languageSwitch' => [
@@ -2080,6 +2087,7 @@ return [
         'maximumNumberOfArguments' => 3,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->localizationRedirect' => [
@@ -2087,6 +2095,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->getLanguages' => [
@@ -2094,6 +2103,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->fixWSversioningInEditConf' => [
@@ -2101,6 +2111,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->getRecordForEdit' => [
@@ -2108,6 +2119,7 @@ return [
         'maximumNumberOfArguments' => 2,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->compileStoreDat' => [
@@ -2115,6 +2127,7 @@ return [
         'maximumNumberOfArguments' => 0,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->getNewIconMode' => [
@@ -2122,6 +2135,7 @@ return [
         'maximumNumberOfArguments' => 2,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->closeDocument' => [
@@ -2129,6 +2143,7 @@ return [
         'maximumNumberOfArguments' => 1,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->setDocument' => [
@@ -2136,6 +2151,7 @@ return [
         'maximumNumberOfArguments' => 2,
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\FileSystemNavigationFrameController->initPage' => [
index f295b54..2a861a6 100644 (file)
@@ -70,186 +70,223 @@ return [
     'TYPO3\CMS\Backend\Controller\EditDocumentController->editconf' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->defVals' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->overrideVals' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->columnsOnly' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->returnUrl' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->closeDoc' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->doSave' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->returnEditConf' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->retUrl' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->R_URL_parts' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->R_URL_getvars' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->storeArray' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->storeUrl' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->storeUrlMd5' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->docDat' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->docHandler' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->cacheCmd' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->redirect' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->returnNewPageId' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->popViewId' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->popViewId_addParams' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->viewUrl' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->recTitle' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->noView' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->MCONF' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->perms_clause' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->content' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->R_URI' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->pageinfo' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->storeTitle' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->firstEl' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->errorC' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->newC' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->viewId' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->viewId_addParams' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->modTSconfig' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->dontStoreDocumentRef' => [
         'restFiles' => [
             'Deprecation-84195-ProtectedMethodsAndPropertiesInEditDocumentController.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Backend\Controller\EditDocumentController->elementsData' => [