dev/core#3663 fix output regression on csv output
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 17 Jun 2022 00:11:12 +0000 (12:11 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 17 Jun 2022 00:14:41 +0000 (12:14 +1200)
commit9cf618c4e194355ee1c358b9b09587ee8e2f5e72
tree97628a395a144f9f2ddc756b53c6232db20ea336
parentef905d58c073d6a647a7191dc9b82b5ed05c03c2
dev/core#3663 fix output regression on csv output

This fixes a very-recent rc regression whereby the file error output was
not correctly referring to the fields to be exported.

Note that in order to make it testable I had to
- remove header-setting that duplicates work done by the csv package
- remove extraneous echos in the GenCode
CRM/Core/CodeGen/Main.php
CRM/Import/DataSource.php
CRM/Import/DataSource/CSV.php
CRM/Import/DataSource/SQL.php
CRM/Import/Forms.php
CRM/Import/Parser.php
Civi/Test.php
tests/phpunit/CRM/Contact/Import/Form/data/column_names_casing.csv [new file with mode: 0644]
tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php