Project

General

Profile

Actions

Bug #17961

closed

Missing TCA[table][columns] leads to PHP warning

Added by Franz Holzinger about 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2007-12-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.1
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

If a table does not have the TCA set, then the list module shows an error message.

Invalid argument supplied for foreach() in /var/www/html/typo3-svn/TYPO3core/trunk/typo3/class.db_list.inc on line 690

A TYPO3 warning should be displayed instead of this. This shows the name of the table and helps to save much time to find out the reason for this warning message.

(issue imported from #M7070)


Files

notcacolumnserror.diff (2.17 KB) notcacolumnserror.diff Administrator Admin, 2007-12-31 14:09
7070-label.diff (1.98 KB) 7070-label.diff Administrator Admin, 2007-12-31 15:24

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22152: 4.4: PHP warning "Invalid argument supplied for foreach()" in list moduleClosedBenni Mack2010-02-22

Actions
Actions

Also available in: Atom PDF