Actions
Bug #77677
closedDeprecated.php says alt_doc-php is deprecated but it is already removed
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-08-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
file typo3/deprecated.php contains the following lines:
case 'alt_doc.php': GeneralUtility::deprecationLog( 'The entry point to FormEngine was moved to an own module. Please use BackendUtility::getModuleUrl(\'record_edit\') to link to alt_doc.php.' ); \TYPO3\CMS\Backend\Utility\BackendUtility::lockRecords(); /* @var $editDocumentController Controller\EditDocumentController */ $editDocumentController = GeneralUtility::makeInstance(Controller\EditDocumentController::class); // Preprocessing, storing data if submitted to $editDocumentController->preInit(); // Checks, if a save button has been clicked (or the doSave variable is sent) if ($editDocumentController->doProcessData()) { $formProtection = \TYPO3\CMS\Core\FormProtection\FormProtectionFactory::get(); if ($formProtection->validateToken(GeneralUtility::_GP('formToken'), 'editRecord')) { $editDocumentController->processData(); } } $editDocumentController->init(); $editDocumentController->main(); $editDocumentController->printContent(); break;
but alt_doc.php is not there anymore and calling it result in blank page in backend
Updated by Georg Ringer about 8 years ago
- Subject changed from Deprecated.php says alt_doc-ph is deprecated but it is already removed to Deprecated.php says alt_doc-php is deprecated but it is already removed
- Status changed from New to Resolved
Thanks for creating this issue! The wording "deprecation" is a bit misleading. Checkout https://docs.typo3.org/typo3cms/extensions/core/Changelog/7.5/Breaking-68812-DeprecatedBackendEntrypointsMoved.html
the files don't exist anymore and via .htaccess rule, those requests can be still handled.
Feel free to reopen the issue if you think this is not solved.
Updated by Nirmalya Mondal over 6 years ago
I had to update code here in typo3\sysext\backend\Classes\Controller\EditDocumentController.php for version 7.6.26
public function printContent() { GeneralUtility::logDeprecatedFunction(); //echo $this->content; echo $this->moduleTemplate->renderContent(); }
Actions