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

Export code cleanup - remove silly function #13122

Merged
merged 2 commits into from Nov 19, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Nov 18, 2018

Overview

Export code cleanup

Before

Label built wrongly & then wrangled. No test

After

Label built correctly. Test

Technical Details

@mattwire this is a pretty small next step but it seems I already had it ready & wating :-) Oh I removed some more special handling on field names that didn't seem to warrant it

Comments

@civibot
Copy link

civibot bot commented Nov 18, 2018

(Standard links)

@civibot civibot bot added the master label Nov 18, 2018
@mattwire
Copy link
Contributor

@eileenmcnaughton Test failure because testExportRelationships() is expecting field names instead of labels on the relationship-xxx fields. That change probably makes sense but the test will need modifying as part of this PR. Apart from that issue, I tested this with a simple export selecting "Employee Of-display name" and a couple of standard fields and it exported fine as far as I could tell.

Export code cleanup -  Extend testing so we can get rid of silly manipulate fn
@eileenmcnaughton
Copy link
Contributor Author

@mattwire - thanks - I've pushed a fix on the test & will give this merge-on-pass based on your review

@eileenmcnaughton eileenmcnaughton merged commit c167994 into civicrm:master Nov 19, 2018
@eileenmcnaughton eileenmcnaughton deleted the export_merge branch November 19, 2018 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants