Project

General

Profile

Actions

Bug #46361

closed

BackendUtility::lockRecords throws warnings with PHP 5.4

Added by Helmut Hummel over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2013-03-16
Due date:
% Done:

100%

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

Description

$GLOBALS['BE_USER']->user['uid'] is accessed even if a user
is not logged in which leads to a "Illegal String offset" warning.

Additionally a delete query is executed in this case which
does not make sense at all.

Solution:
Properly check if a user is logged in before executing any
functionality in this method.


Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #46245: BE/Log: Illegal string offset 'uid' Closed2013-03-13

Actions
Has duplicate TYPO3 Core - Bug #44442: Error at backend loginClosed2013-01-10

Actions
Actions #1

Updated by Gerrit Code Review over 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18978

Actions #2

Updated by Wouter Wolters over 11 years ago

This one looks related: http://forge.typo3.org/issues/46245

Actions #3

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18978

Actions #4

Updated by Gerrit Code Review over 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18978

Actions #5

Updated by Gerrit Code Review over 11 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18978

Actions #6

Updated by Gerrit Code Review over 11 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/18992

Actions #7

Updated by Gerrit Code Review over 11 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/18993

Actions #8

Updated by Gerrit Code Review over 11 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/18994

Actions #9

Updated by Helmut Hummel over 11 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF