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-21075 Replace call to CRM_Core_OptionGroup::getValue with CRM_Cor… #10878

Merged
merged 1 commit into from
Aug 22, 2017

Conversation

seamuslee001
Copy link
Contributor

…e_PseudoConstant::getKey in CommunicationsPreferences edit

Overview

When a user would edit their record, a series of notices would be generated because of use of a deprecated function. This no longer happens.

Before

Notices appear about use of deprecated function

After

Notices do not appear anymore. I have tested this on a local buildkit install and appears to work as expected.

@JoeMurray @eileenmcnaughton @totten does this look right?

…e_PseudoConstant::getKey in CommunicationsPreferences edit
@eileenmcnaughton
Copy link
Contributor

This looks right to me (not yet tested myself), but, why is this against the rc?

@seamuslee001
Copy link
Contributor Author

@eileenmcnaughton Joe felt that it should be against the RC as per chat in dev-postrelease but happy to shift to master if that is the consensus

@eileenmcnaughton
Copy link
Contributor

I don't feel this meets the criteria - it's not a regression, it does not affect properly configured production sites & it is not critical

@eileenmcnaughton eileenmcnaughton changed the base branch from 4.7.24-rc to master August 22, 2017 00:32
@eileenmcnaughton
Copy link
Contributor

I just tested this against master & am ready to merge it against master. I created a contact using the 'new individual' block & witnessed the error messages. After applying the patch the messages did not appear. Crucially the greeting fields were populated the same on the 2 contacts created - per screenshot

screenshot 2017-08-22 12 32 17

@seamuslee001
Copy link
Contributor Author

@eileenmcnaughton this has passed testing

@eileenmcnaughton eileenmcnaughton merged commit 1f8eeb3 into civicrm:master Aug 22, 2017
@eileenmcnaughton eileenmcnaughton deleted the contact_edit_notices branch August 22, 2017 04:27
@totten totten added the master label Aug 30, 2017
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