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-19741 Add back in fix and add in unit tests to lock in fix #10120

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

seamuslee001
Copy link
Contributor

@seamuslee001 seamuslee001 commented Apr 6, 2017

@seamuslee001
Copy link
Contributor Author

This fixes regression now @jitendrapurohit @eileenmcnaughton and adds unit tests as well

@eileenmcnaughton
Copy link
Contributor

@jitendrapurohit can you check this - it is the regression you spotted

@@ -170,7 +176,7 @@ public static function create(&$params) {
throw new CRM_Core_Exception($e->getMessage());
}
}
elseif (!empty($optionIds)) {
elseif (!empty($optionsIds)) {
$optionsLoad = civicrm_api3('price_field_value', 'get', array('id' => $optionIds['id']));
Copy link
Contributor

@jitendrapurohit jitendrapurohit Apr 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems an additional typo here - $optionIds - failing the test again?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the ping have fixed it up (minor spelling issues mostly)

@eileenmcnaughton
Copy link
Contributor

@jitendrapurohit is this good to merge now?

Copy link
Contributor

@jitendrapurohit jitendrapurohit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eileenmcnaughton yeah, confirmed that it works well. Thanks for the test @seamuslee001

@eileenmcnaughton eileenmcnaughton merged commit 40872b0 into civicrm:master Apr 6, 2017
@seamuslee001 seamuslee001 deleted the CRM-19741 branch April 6, 2017 06:10
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.

4 participants