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/Contact - Fix fatal error on tag search #13743

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

pfigel
Copy link
Contributor

@pfigel pfigel commented Mar 1, 2019

Overview

Fixes a regression in search builder when "Tag(s) IS NULL" is used.

Before

Searching for "Tag(s) IS NULL" triggers a fatal error because the CommaSeparatedIntegers does not accept empty strings.

After

Searching for "Tag(s) IS NULL" works because the validation is only performed if the value is not empty.

Comments

This is basically the same as #13738, only for tags.

This fixes a fatal error caused by the CommaSeparatedIntegers not
accepting empty strings. This can be triggered by performing a
search with "Tag(s) IS NULL" using the search builder.
@civibot
Copy link

civibot bot commented Mar 1, 2019

(Standard links)

@civibot civibot bot added the 5.11 label Mar 1, 2019
@eileenmcnaughton
Copy link
Contributor

@jitendrapurohit ping

@seamuslee001
Copy link
Contributor

Jenkins re test this please

@eileenmcnaughton
Copy link
Contributor

I'm going to merge this now tests are passing - I feel confident based on the related PR

@eileenmcnaughton eileenmcnaughton merged commit 7cb808d into civicrm:5.11 Mar 2, 2019
@pfigel pfigel deleted the fix-tag-search branch March 28, 2019 15:32
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