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#1909 - Avoid E_Notice on SMS provider form when no default url #17985

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

demeritcowboy
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/core/-/issues/1909

Some providers, like the dummy SMS provider extension, don't provide a default url. The form gives an E_NOTICE when adding it as a provider.

Before

Before the patch, test gives: Undefined property: CiviTestSMSProvider::$_apiURL

After

No notice

Technical Details

Just needs check against missing parameter.

Comments

Has test

@civibot
Copy link

civibot bot commented Jul 28, 2020

(Standard links)

@seamuslee001
Copy link
Contributor

Looks good to me MOP

@eileenmcnaughton
Copy link
Contributor

test this please

@seamuslee001
Copy link
Contributor

Test fail looks unrelated to me

@eileenmcnaughton
Copy link
Contributor

I agree - I hit this on another PR today

@eileenmcnaughton
Copy link
Contributor

CRM_Contribute_BAO_ContributionRecurTest.testAutoRenewalWhenOneMemberIsDeceased

@eileenmcnaughton eileenmcnaughton merged commit d219110 into civicrm:master Jul 29, 2020
@demeritcowboy
Copy link
Contributor Author

Thanks!

@demeritcowboy demeritcowboy deleted the sms-apiurl branch July 29, 2020 11:58
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