Project

General

Profile

Actions

Bug #62501

closed

method is called statically despite not being declared static

Added by Frank Nägler over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-10-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

For any kind of record created in list module, an exception is thrown on every first save:


Uncaught TYPO3 Exception
#1: PHP Runtime Deprecation Notice: Non-static method TYPO3\CMS\Backend\Form\Element\InlineElement::updateInlineView() should not be called statically, assuming $this from incompatible context in /Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 382 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.

2 TYPO3\CMS\Core\Error\ErrorHandler::handleError(8192, "Non-static method TYPO3\CMS\Backend\Form\Element\I…atically, assuming $this from incompatible context", "/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sy…kend/Classes/Controller/EditDocumentController.php", 382, array)

/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:

00380:    if (count($tce->substNEWwithIDs_table)) {
00381:     // save the expanded/collapsed states for new inline records, if any

00382:     \TYPO3\CMS\Backend\Form\Element\InlineElement::updateInlineView($this->uc, $tce);

00383:     $newEditConf = array();
00384:     foreach ($this->editconf as $tableName => $tableCmds) {

1 TYPO3\CMS\Backend\Controller\EditDocumentController::processData()

/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/alt_doc.php:

00033:  $formprotection = \TYPO3\CMS\Core\FormProtection\FormProtectionFactory::get();
00034:  if ($formprotection->validateToken(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('formToken'), 'editRecord')) {

00035:   $editDocumentController->processData();

00036:  }
00037: }

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #63097: Deprecation Notice when creating a pageClosed2014-11-20

Actions
Actions #1

Updated by Frank Nägler over 9 years ago

  • Status changed from New to Rejected

my mistake

Actions #2

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Rejected to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33582

Actions #3

Updated by Helmut Hummel over 9 years ago

  • Subject changed from Exception on save record first time to method is called statically despite not being declared static

Frank Nägler wrote:

my mistake

don't think so. The method is called statically despite not being declared static. This should be fixed

Actions #4

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33584

Actions #5

Updated by Helmut Hummel over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF