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#2039 [REF] Follow up cleanup from Event Location #18608

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Sep 26, 2020

Overview

CRM_Core_BAO_Block::create & CRM_Core_BAO_Address::create are no longer called with the entity param

  • remove support

Before

$entity param supported but never passed in

After

poof

Screen Shot 2020-09-26 at 3 32 29 PM

Screen Shot 2020-09-26 at 3 33 19 PM

Technical Details

Usage removed in #18586

Comments

I did earlier do universe searches

@civibot
Copy link

civibot bot commented Sep 26, 2020

(Standard links)

CRM_Core_BAO_Block::create & CRM_Core_BAO_Address::create are no longer called with the entity param
- remove support
@eileenmcnaughton
Copy link
Contributor Author

eileenmcnaughton commented Sep 26, 2020

test fail unrelated https://test.civicrm.org/job/CiviCRM-Core-PR/37140/testReport/junit/E2E.Core/PrevNextTest/testDeleteByCacheKey/ @demeritcowboy fyi on the test -

@seamuslee001 @colemanw if we can merge this I'll clean up the 'now-less-contaminated' Address::create along the lines of how we did Website::Create ie. move the 'multiple' functionality to a new function, support calling it in a deprecated way via the existing for 'a while' #18607 - then we can switch apiv4 address to call create & address the is_primary handling bypass

@eileenmcnaughton
Copy link
Contributor Author

test this please

@eileenmcnaughton
Copy link
Contributor Author

@seamuslee001 are you able to look at this one? I have some follow on work but just want this merged first (ideally also #18607 )

@seamuslee001
Copy link
Contributor

This was a bit trick for me to get my head around but seeing the other PR helped a bit but seems like unit tests should cover us here merging

@seamuslee001 seamuslee001 merged commit 4463f2f into civicrm:master Oct 1, 2020
@eileenmcnaughton eileenmcnaughton deleted the block branch October 1, 2020 22:11
@eileenmcnaughton eileenmcnaughton changed the title [REF] Follow up cleanup from Event Location dev/core#2039 [REF] Follow up cleanup from Event Location Oct 1, 2020
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.

2 participants