Project

General

Profile

Actions

Bug #17961

closed

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

Added by Franz Holzinger over 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 #1

Updated by Franz Holzinger over 16 years ago

There is also a problem with list views, if not title and label are set in TCA. Please implement this patch. It helps to save a lot of time with extension developing.

Actions #2

Updated by Andreas Wolf over 12 years ago

  • Category set to Backend User Interface
  • Assignee set to Andreas Wolf
  • Target version changed from 0 to 4.6.0
  • Complexity set to easy
Actions #3

Updated by Chris topher over 12 years ago

  • Target version changed from 4.6.0 to 4.6.1
Actions #4

Updated by Mr. Jenkins over 12 years ago

  • Status changed from New to Under Review

Patch set 1 of change I2b9039fbde852e7967c4029c287e2a714ec3ffcf has been pushed to the review server.
It is available at http://review.typo3.org/6882

Actions #5

Updated by Mr. Jenkins over 12 years ago

Patch set 1 of change I568c63d40de11385da0bf848904b860c4269fac4 has been pushed to the review server.
It is available at http://review.typo3.org/6883

Actions #6

Updated by Mr. Jenkins over 12 years ago

Patch set 2 of change I568c63d40de11385da0bf848904b860c4269fac4 has been pushed to the review server.
It is available at http://review.typo3.org/6883

Actions #7

Updated by Chris topher over 12 years ago

  • Target version changed from 4.6.1 to 4.6.2
Actions #8

Updated by Mr. Jenkins over 12 years ago

Patch set 3 of change I568c63d40de11385da0bf848904b860c4269fac4 has been pushed to the review server.
It is available at http://review.typo3.org/6883

Actions #9

Updated by Gerrit Code Review over 12 years ago

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

Actions #10

Updated by Gerrit Code Review over 12 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6883

Actions #11

Updated by Gerrit Code Review over 12 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6883

Actions #12

Updated by Gerrit Code Review over 12 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6883

Actions #13

Updated by Stefan Neufeind over 12 years ago

Issues 17961 and 22152 touch (and fix) the same thing - doing it slightly different, but the same thing. Please merge :-)

Actions #14

Updated by Xavier Perseguers about 12 years ago

  • Target version deleted (4.6.2)
Actions #15

Updated by Stefan Neufeind about 12 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF