CSV exporter might fail if the CID used by the temporary storage surpasses the max DB length for the name #177
Labels
bug
Something isn't working
CSV Processing
Things we do here and there to keep the tabulated goddesses happy
Find and Replace
VBO Actions
I got my head out the sunroof
Milestone
What?
Unheard of before. But I should have known better bc I saw something (and fixed) similar while building the LoD reconciliation service.
During an CSV export, to keep the order of children/parents in place we generate a Batch that uses temporary storage. Temporary storage requires a unique ID per item, and that one (to avoid overlaps while multiple users export at the same time or a single user does the same) is generated using a combination of the Views, the Display ID, etc
See:
ami/src/Plugin/Action/AmiStrawberryfieldCSVexport.php
Lines 553 to 555 in 9283bf0
This name, when the Views Machine name + the Display name are very long (happened to me, I promise) will fail badly at the DB level!
(gosh drupal) giving you a truly scary exception 👻
Solution is to reduce the whole thing to an md5() and done.
The text was updated successfully, but these errors were encountered: