Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.23
-
Fix Version/s: 4.7.25
-
Component/s: CiviCRM API, Import
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
-
Overview:
-
How it works currently:
-
How it should work:
-
Acceptance Criteria:
Description
The CLI API CSV import has a check to ensure that there are multiple columns in the CSV, to short-circuit the import of malformed CSVs.
This is a good idea, but there are several use cases for importing single-column CSVs.
- Importing a Setting entity
- Importing a list of contact IDs to force recalculation of greetings
- Importing a list of membership IDs to force end date recalculation
Probably some others I've forgotten.
I'm guessing that most folks who use will be able to recognize an error due to malformed CSVs when they see it, and I can't imagine the scenario where data would actually be changed by a malformed CSV, so I'm removing this check.