Migrate Source CSV 8.3.2 requires League/CSV Version 9 and Drupal CSV Serialization version 1.0 uses League/CSV Version 8. I propose moving the requirement to CSV Serialization 2.0.
I've been using Beta 3 of Views Data export with CSV Serialization 2.0 for a while now and have had no issues creating and exporting data to csv format. I currently cannot update to Beta 4 while also using Migrate Source CSV version 3.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3111698-4.patch | 348 bytes | svendecabooter |
| #3 | 3111698-3.patch | 345 bytes | svendecabooter |
Comments
Comment #2
ayalon commentedI have the same experience.
Comment #3
svendecabooterEncountering the same issue.
I think this patch should allow installation of both the 1.4 as well as the 2.0-beta version of csv_serialization module.
Comment #4
svendecabooterUpdated patch, using the OR operator instead of AND, which makes more sense.
Comment #5
ergonlogicSince patches are only applied after resolving dependencies, this patch won't work on its own to resolve dependency resolution failures with Migrate Source CSV.
Composer Patches proposes the following work-around:
For me, adding the following under
requireto mu project's rootcomposer.jsonworked nicely:drupal/csv_serialization": "2.0-beta1 as 1.4,That said, using the latest version of CSV Serialization worked nicely. So, in my opinion, this issue should be merged ASAP, to avoid the necessity of the work-around above. Marking RTBC, as a result.
Comment #6
mehul.shah commentedFacing the same issue when using the Entity Importer module, which has a dependency on the league/csv library having version above 9.0. On the other end I am using the Views data export which has dependency on the CSV serialization module, It has 2 versions available 8.x-1.4 & 8.x-2.0-beta1. The 8.x-2.0-beta1 uses league/csv 9.0 and above but Views data export requires CSV serialization 8.x-1.4. Can we update the module to use 8.x-2.0-beta1?
Comment #7
pobster commentedI hope this is merged soon ...
Comment #8
danharper commented+1 this is causing issues with other modules that use the latest leageu_csv library like entity_import.
Comment #9
chris matthews commentedI pinged @jhedstrom to see if he can get the patch in #4 committed.
Comment #11
jhedstromThanks all!
Comment #13
sébastien-frAdd in composer.json : "drupal/csv_serialization": "2.0-beta1 as 1.4" works for me.