rogerOlier / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

missing resource version id on batch update #676

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to batch update the empty cells this way:

foreach (var csvline in csv)
            {
                var csvlineParsed = csvline.Split(';');
                for (uint index = 0; index < csvlineParsed.Length; index++)
                {
                    var cellEntry = new CellEntry(i, index + 1, csvlineParsed[index]);
                    cellFeed.Insert(cellEntry);

                    var cell = new CellEntry(i, index + 1);
                    cell.Id = new AtomId(string.Format("{0}/{1}", cellFeed.Self, "R" + i + "C" + index + 1));
                    cell.InputValue = csvlineParsed[index];
                    cell.BatchData = new GDataBatchEntryData("R" + cell.Row + "C" + cell.Column, GDataBatchOperationType.update);
                    batchRequest.Entries.Add(cell);*/

                }
                i++;
            }

            var batchResponse = (CellFeed) _service.Batch(batchRequest, new Uri(cellFeed.Batch));

and have error "missing resource version id"

I'm using v2.2.0.0 on windows 8 x64

Original issue reported on code.google.com by vitaliy....@goritchy.com on 30 Dec 2013 at 1:58