CustomMetadataLoader icon indicating copy to clipboard operation
CustomMetadataLoader copied to clipboard

Parsing Error

Open nishantspanwar opened this issue 5 years ago • 3 comments

Unable to parse the CSV when there are blank values in the data row and it throws header mismatch error

nishantspanwar avatar Jun 30 '20 14:06 nishantspanwar

My observation is that if a column has no value in CSV, then cell values mismatch to header and MDAPI call may fail due to a type mismatch

cropredy-twa avatar Jul 28 '20 00:07 cropredy-twa

I managed to patch this by moving where the isBlank check was being done, so it will not add a blank value to the map when building the fieldsAndValues map in MetadataUtil class

TonyWhiteSMS avatar Feb 17 '21 05:02 TonyWhiteSMS

Duplicate of https://github.com/forcedotcom/CustomMetadataLoader/issues/9

alex-wilson-gwf avatar Apr 27 '23 05:04 alex-wilson-gwf