Bug #17961
closed
Missing TCA[table][columns] leads to PHP warning
Added by Franz Holzinger almost 17 years ago.
Updated about 6 years ago.
Category:
Backend User Interface
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
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.
- Category set to Backend User Interface
- Assignee set to Andreas Wolf
- Target version changed from 0 to 4.6.0
- Complexity set to easy
- Target version changed from 4.6.0 to 4.6.1
- 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
Patch set 1 of change I568c63d40de11385da0bf848904b860c4269fac4 has been pushed to the review server.
It is available at http://review.typo3.org/6883
Patch set 2 of change I568c63d40de11385da0bf848904b860c4269fac4 has been pushed to the review server.
It is available at http://review.typo3.org/6883
- Target version changed from 4.6.1 to 4.6.2
Patch set 3 of change I568c63d40de11385da0bf848904b860c4269fac4 has been pushed to the review server.
It is available at http://review.typo3.org/6883
Issues 17961 and 22152 touch (and fix) the same thing - doing it slightly different, but the same thing. Please merge :-)
- Target version deleted (
4.6.2)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF