-
As it is common practice to define object properties in Extbase models without default values (resulting in a NULL value) while defining the database columns as `DEFAULT '' NOT NULL` these columns need to be skipped when preparing a new record for insertion into the database. This allows the database to use the configured defaults for columns not included in the insert statement. To properly support strict databases in an Extbase extension/model it is required to configure identical/compatible default values in the database schema and the model. This problem cannot be solved completely programmatically. Resolves: #69247 Related: #69084 Releases: master Change-Id: I9de6a68a9eac25e171e3bfde6314366dad1ae346 Reviewed-on: http://review.typo3.org/42821 Reviewed-by: Markus Klein <markus.klein@typo3.org> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Markus Klein <markus.klein@typo3.org> Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
0e37d598