Project

General

Profile

Actions

Bug #46075

closed

ExtDirectApi uses an undefined variable

Added by Dmitry Dulepov over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend API
Target version:
-
Start date:
2013-03-06
Due date:
% Done:

100%

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

Description

Method generateAPI() sets $className inside the condition but later uses it without checking if it is empty or not. The result is PHP warning "Invalid argument supplied for foreach()".


Files

sentry-report.png (125 KB) sentry-report.png Dmitry Dulepov, 2013-03-06 20:15
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/18760

Actions #2

Updated by Dmitry Dulepov over 11 years ago

  • File sentry-report.png added
Actions #3

Updated by Dmitry Dulepov over 11 years ago

  • File deleted (sentry-report.png)
Actions #5

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/19115

Actions #6

Updated by Anonymous over 11 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF