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#2240 - Convert remaining two deprecatedWarning calls #19266

Merged
merged 1 commit into from
Dec 28, 2020

Conversation

demeritcowboy
Copy link
Contributor

Overview

Follow-on to #19179. Converts remaining two civi.tag-deprecated to central function.

Technical Details

I left these out of the previous PR these mostly because I wasn't sure if these are deprecations or they should be actual exceptions. I'm still not sure.

The first one I can sort of see the argument if the system still functions without it.

The second one though I think there's a stronger reason to throw an exception instead, since it's 4 years old, and if there are still undeclared modules that seems like a real error now. Also, on a smaller note, for this one either way the concept of placeholders isn't supported so I've flattened the string.

So I dunno. I've left them as deprecations for now, but if people agree they should be exceptions instead it's an easy change.

Comments

@civibot
Copy link

civibot bot commented Dec 23, 2020

(Standard links)

@civibot civibot bot added the master label Dec 23, 2020
@seamuslee001
Copy link
Contributor

My feeling is that this PR is correct for these two @eileenmcnaughton thoughts?

@eileenmcnaughton
Copy link
Contributor

I think we should throw an exception in the latter case - the goal is that deprecations hang around for 6-12 months in most cases. 4 years is quite a while.

@eileenmcnaughton eileenmcnaughton merged commit cc420c1 into civicrm:master Dec 28, 2020
@demeritcowboy demeritcowboy deleted the is-development-2 branch December 28, 2020 22:17
@demeritcowboy
Copy link
Contributor Author

Thanks!

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