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

dev/core#27 Move check for phone function to a check #20757

Merged
merged 1 commit into from
Jul 4, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

dev/core#27 Move check for phone function to a check
https://lab.civicrm.org/dev/core/-/issues/27

Before

The check is run when crudding phone numbers

After

The check is part of system status checks

image

Technical Details

Comments

@civibot
Copy link

civibot bot commented Jul 3, 2021

(Standard links)

@civibot civibot bot added the master label Jul 3, 2021
@colemanw
Copy link
Member

colemanw commented Jul 4, 2021

This is going to be a little less fool-proof than the original version which would guarantee the sql function exists before writing a phone record (also at the expense of an extra query before writing phone records).

But checks are a much more standard approach, than the ad-hoc thing.

@eileenmcnaughton eileenmcnaughton merged commit 0cc5d8f into civicrm:master Jul 4, 2021
@eileenmcnaughton eileenmcnaughton deleted the phone_strip branch July 4, 2021 04:09
@demeritcowboy
Copy link
Contributor

All the PR test sites are showing this warning. Not sure yet if it's something to do with the way those sites are created since don't see it on e.g dmaster.demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants