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#183 Use Standard CRM_Utils_SQL_TempTable builder to create temporary tabl… #15792

Conversation

seamuslee001
Copy link
Contributor

…e in Campaign and upgrade

Overview

This converts the creation of temporary tables in CRM/Campaign and CRM/Upgrade to be standardised through the CRM_Utils_SQL_TempTable interface

Before

Uses the deprecated CRM_Core_DAO::createTempTableName function to generate a temporary table name

After

Uses the standard CRM_Utils_SQL_TempTable functionality

ping @monishdeb @eileenmcnaughton @totten

@civibot
Copy link

civibot bot commented Nov 9, 2019

(Standard links)

@civibot civibot bot added the master label Nov 9, 2019
@seamuslee001 seamuslee001 force-pushed the convert_temp_table_creation_campaign_upgrade branch 3 times, most recently from 174f98d to 80c8288 Compare November 10, 2019 19:34
@eileenmcnaughton
Copy link
Contributor

Hmm - I can take the upgrade ones on faith based on upgrade tests but I found the other borked

Screen Shot 2019-11-11 at 9 59 19 AM

@eileenmcnaughton
Copy link
Contributor

We should probably wrap those fns in some sort of unit test..

@seamuslee001 seamuslee001 force-pushed the convert_temp_table_creation_campaign_upgrade branch from 80c8288 to 228238f Compare November 17, 2019 20:58
@seamuslee001
Copy link
Contributor Author

@eileenmcnaughton have just pushed a fix for that malformed category thing

@seamuslee001 seamuslee001 force-pushed the convert_temp_table_creation_campaign_upgrade branch from 228238f to 6c0b6d2 Compare November 21, 2019 05:38
@seamuslee001
Copy link
Contributor Author

@eileenmcnaughton i have added a unit test for the change in CRM/Campaign/BAO/Query.php but i'm not sure how i would be able to generate one for the Interview change

@eileenmcnaughton
Copy link
Contributor

I was able to reserve & interview without fatal error & it passed through these lines - gtg

@eileenmcnaughton eileenmcnaughton merged commit e5803ea into civicrm:master Nov 21, 2019
@seamuslee001 seamuslee001 deleted the convert_temp_table_creation_campaign_upgrade branch November 21, 2019 07:15
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.

2 participants