+ Start a Discussion
srikanth challasrikanth challa 

Error using Cliq dataloader when using Bulk API

I downloaded and traced the open source java code for data loader, it seems, looking at this logic, data loader will never get thru blanks in rows when bulk option is selected.
This is how the java code works from what I learnt, the section highlighted in yellow will never let blanks work with bulk upload:
 
 
Namespace hierarchy:
\dataloader\src\main\java\com\salesforce\dataloader\action\visitor
 
BulkLoadVisitor.java extends DAOLoadVisitor.java
 
Initialize() >
loadBatch() >
createbatches() >
for (i=0; i < totalbatches().count();  i++)
{
     doOneBatch()
     {
          for (int i = 0; i < rows.size(); i++)
{
               writeRow(i)
               {
                   for (final String column in header)
{
     writeSingleColumn()
     {
          if (fieldValue != null)
{
     // write field to sales force output
          }
          Else
          {
              Logger.warn(message(“No value provided for field {fieldname}”));
          }
     }
}
              }
          }
     }
}
 
It seems the code will never proceed to do anything if fieldValue is blank


 
User-added image