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

[Ref] [Import] Simplify form event MapField (Contact) #24464

Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

[Ref] [Import] Simplify form event MapField (Contact)

Similar to #24463 - but less code removal as the shared function was already being called internally ($this->addSavedMappingFields(); adds in the shared rule)

Before

Code different to other similar classes, for no reason

After

More aligned

Technical Details

Comments

@civibot
Copy link

civibot bot commented Sep 6, 2022

(Standard links)

@civibot civibot bot added the master label Sep 6, 2022
@eileenmcnaughton
Copy link
Contributor Author

@colemanw similar to others you have merged

@seamuslee001
Copy link
Contributor

Test fails relate

CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMappingDirect
CRM_Contact_Import_Form_MapFieldTest.testSubmit with data set "basic_data"
CRM_Contact_Import_Form_MapFieldTest.testSubmit with data set "save_mapping"
CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMapping with data set #0
CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMapping with data set #1
CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMapping with data set #2
CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMapping with data set #3
CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMapping with data set #4
CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMapping with data set #5
CRM_Contact_Import_Form_MapFieldTest.testLoadSavedMapping with data set #6
CRM_Contact_Import_Form_MapFieldTest.testDefaultFromColumnNames with data set #0
CRM_Contact_Import_Form_MapFieldTest.testDefaultFromColumnNames with data set #1
CRM_Contact_Import_Form_MapFieldTest.testDefaultFromColumnNames with data set #2
CRM_Contact_Import_Form_MapFieldTest.testDefaultFromColumnNames with data set #3
CRM_Contact_Import_Form_MapFieldTest.testDefaultFromColumnNames with data set #4
CRM_Contact_Import_Form_MapFieldTest.testDefaultFromColumnNames with data set #5
CRM_Contact_Import_Form_MapFieldTest.testDefaultFromColumnNames with data set #6
CRM_Contact_Import_Parser_ContactTest.testImportParserUpdateWithExistingRelatedMatch
CRM_Contact_Import_Parser_ContactTest.testImportMatchNonPrimary
CRM_Contact_Import_Parser_ContactTest.testImportMatchSpecifiedLocationToPrimary
CRM_Contact_Import_Parser_ContactTest.testImportContactToGroup
CRM_Contact_Import_Parser_ContactTest.testImportGenders
CRM_Contact_Import_Parser_ContactTest.testImportCountryStateCounty
CRM_Contact_Import_Parser_ContactTest.testImportContactSubTypes
CRM_Contact_Import_Parser_ContactTest.testImportLocations
CRM_Contact_Import_Parser_ContactTest.testImport with data set "individual_with_note.csv"
CRM_Contact_Import_Parser_ContactTest.testImport with data set "column_names_casing.csv"
CRM_Contact_Import_Parser_ContactTest.testImport with data set "individual_unicode.csv"
CRM_Contact_Import_Parser_ContactTest.testImport with data set "individual_invalid_sub_type"
CRM_Contact_Import_Parser_ContactTest.testImport with data set "organization_multiple_duplicates_invalid"
CRM_Contact_Import_Parser_ContactTest.testImport with data set "individual_invalid_external_identifier_email_mismatch"

@eileenmcnaughton
Copy link
Contributor Author

Nothing like a good e-notice :-)

@eileenmcnaughton eileenmcnaughton merged commit 5a311a5 into civicrm:master Sep 6, 2022
@eileenmcnaughton eileenmcnaughton deleted the saved_mapping_contact branch September 6, 2022 10:45
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