Bug #67298

NULL / NOT NULL information missing from DBAL admin_get_fields()

Added by Morton Jonuschat 2 months ago. Updated about 1 month ago.

Status:Resolved Start date:2015-06-04
Priority:Should have Due date:
Assigned To:Morton Jonuschat % Done:

100%

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

Description

The DBAL admin_get_fields() does not return the information if a field is defined as „NOT NULL“ or the information is returned in a way that is incompatible with the SqlSchemaMigrationService of the install tool.


Related issues

related to Core - Epic #64459: Make TYPO3 run on PostgreSQL New 2015-01-23

Associated revisions

Revision 52cc7013
Added by Morton Jonuschat about 1 month ago

[BUGFIX] dbal: return NULL/NOT NULL information in admin_get_fields()

MySQL returns a YES/NO string for every field to determine if NULL values
are allowed in the field. The DBAL version of admin_get_fields always
returned an empty string although the required details are returned by
ADOdb drivers. Make this information available.

Resolves: #67298
Releases: master
Change-Id: I6892783aced1e574cb6f5702da067f4e6e867529
Reviewed-on: http://review.typo3.org/40051
Reviewed-by: Markus Klein <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Xavier Perseguers <>
Tested-by: Xavier Perseguers <>

History

#1 Updated by Morton Jonuschat about 1 month ago

  • Assigned To set to Morton Jonuschat

#2 Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

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

#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/40051

#4 Updated by Anonymous about 1 month ago

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

Also available in: Atom PDF