Bug #67067

dbal admin_get_tables() returns information in wrong format

Added by Morton Jonuschat 3 months ago. Updated 25 days ago.

Status:Resolved Start date:2015-05-20
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:DBAL Spent time: -
Target version:-
TYPO3 Version:7 Is Regression:No
PHP Version:5.6 Sprint Focus:
Complexity:

Description

The return value form admin_get_tables() is expected to be an array with tablenames as key and arrays with status information as value but the returned value is an array with tablenames as key and value.

A PHP Warning is being raised in the install tool when clearing all caches:

Illegal string offset 'Name' in .../typo3_src-master/typo3/sysext/install/Classes/Service/ClearCacheService.php line 65

As a result the cache tables also keep their content


Related issues

related to Core - Epic #64459: Make TYPO3 run on PostgreSQL New 2015-01-23
related to Core - Bug #67286: InstallTool Database Compare shows all tables missing Resolved 2015-06-03

Associated revisions

Revision d1e9309a
Added by Morton Jonuschat 25 days ago

[BUGFIX] dbal: make admin_get_tables() return correct table information

Return the table information in the documented format (array with
tablenames as key and arrays with status information as value).

Resolves: #67067
Releases: master, 6.2
Change-Id: I7a35c5cfdaa469c407f5c4e4f80b55625034be91
Reviewed-on: http://review.typo3.org/39637
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 36539f12
Added by Morton Jonuschat 25 days ago

[BUGFIX] dbal: make admin_get_tables() return correct table information

Return the table information in the documented format (array with
tablenames as key and arrays with status information as value).

Resolves: #67067
Releases: master, 6.2
Change-Id: I7a35c5cfdaa469c407f5c4e4f80b55625034be91
Reviewed-on: http://review.typo3.org/41058
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39637

#2 Updated by Gerrit Code Review 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39637

#3 Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39637

#4 Updated by Gerrit Code Review 25 days ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41058

#5 Updated by Morton Jonuschat 25 days ago

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

Also available in: Atom PDF