Bug #67298
NULL / NOT NULL information missing from DBAL admin_get_fields()
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
Associated revisions
[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 <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
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
Applied in changeset 52cc7013cf76972c23678044f1add208d5e75c93.