Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-21324 - Support 'null' on date fields in the api #11152

Merged
merged 1 commit into from
Nov 17, 2017

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Oct 18, 2017

Overview

Fixes api to allow setting 'null' on datefields as per other field types

Before

setting a field to 'null' via the api sets it to NULL on non-date fields but errors out on a datefield

After

Date fields are the same as other fields

Technical Details

Replicated in unit test


@mlutfy mlutfy merged commit 79ba87a into civicrm:master Nov 17, 2017
@mlutfy
Copy link
Member

mlutfy commented Nov 17, 2017

Merged based on the unit test, code review and a few quick tests with the patch applied.

sluc23 pushed a commit to ixiam/civicrm-core that referenced this pull request Jan 10, 2018
CRM-21324 - Support 'null' on date fields in the api
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Feb 1, 2018
civicrm#11152

Bug: T177451

Change-Id: Ib110e7d27a5886e6e8da3dc3abc70e38c3f5b682
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants