Project

General

Profile

Actions

Bug #77677

closed

Deprecated.php says alt_doc-php is deprecated but it is already removed

Added by Ivano Luberti over 7 years ago. Updated over 5 years ago.

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

Actions #1

Updated by Georg Ringer over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer over 7 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.

Actions #3

Updated by Nirmalya Mondal about 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 #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF