Skip to content

Commit

Permalink
fix for W-16872438
Browse files Browse the repository at this point in the history
Fix for W-16872438: Bulk API fails with Field name not found error if first column in csv is mapped to multiple fields.
  • Loading branch information
ashitsalesforce committed Oct 1, 2024
1 parent 0b34f3b commit 88ade06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ private List<String> addBatchRequestHeader(PrintStream serverRequestOutput, Dyna
if (this.isDelete && (!first || !"id".equalsIgnoreCase(sfdcColumn)))
throw new LoadException(Messages.getMessage(getClass(), "deleteCsvError"));
addFieldToBatchRequestHeader(serverRequestOutput, sfdcColumn, cols, addedCols, first);
if (first) first = false;
}
if (first) first = false;
}

// Handle constant field mappings in the field mapping file (.sdl)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mapping values
#Mon May 16 17:24:40 PDT 2011
Name=Name
Name=Name,RICHTEXT__c
NumEmployees = NumberOfEmployees
"Aerospace"=Industry
State=BillingState, ShippingState, Description

0 comments on commit 88ade06

Please sign in to comment.