CRM-21474 add support for setting non-required fields to 'null'
authoreileen <emcnaughton@wikimedia.org>
Mon, 4 Dec 2017 05:10:01 +0000 (18:10 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 4 Dec 2017 07:16:45 +0000 (20:16 +1300)
commit57369d2330aa8e4f1b118108ab573cf11290372a
tree9f138fcf28c50be7dca3c615b6fbed8db310a6dc
parent63b7d4427ad0e1967032693cf2a733f9b581cf1b
CRM-21474 add support for setting non-required fields to 'null'

When a field is not required in the database the 'null' should be pass through the pseudoconstant validation.

Note the unit test on this is failing because the BAO is not respecting setting null. Follow up patch
api/v3/Contact.php
api/v3/utils.php
tests/phpunit/api/v3/ContactTest.php