[BUGFIX] Return null value instead of string 'NULL' 77/54877/2
authorGernot Leitgab <typo3@webentwickler.at>
Fri, 2 Sep 2016 18:59:26 +0000 (20:59 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 29 Nov 2017 21:34:15 +0000 (22:34 +0100)
commitb2bd51f9dab5d36756d8e826da8082bc7426608f
treecd804426231e2527efcc0593458ed4b89816ef4d
parent6f3fa75806a1291010bd0962cba12c528d069a20
[BUGFIX] Return null value instead of string 'NULL'

Add local getPlainValue method in persistence backend, so a
null value instead of string 'NULL' is written to database.

Resolves: #68994
Related: #57255
Releases: master, 8.7
Change-Id: Idb61caabf5115da4bb818d2ed8bb4faa16f5df2c
Reviewed-on: https://review.typo3.org/54877
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Blog.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/tx_blogexample_domain_model_blog.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Resources/Private/Language/locallang_db.xml
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_tables.sql
typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php