bedatadriven / activityinfo-R

ActivityInfo R Language Client
https://www.activityinfo.org/support/docs/R/
18 stars 12 forks source link

importRecords() fails if form has serial number key field #124

Closed akbertram closed 3 months ago

akbertram commented 3 months ago

This yields the error:

Error in names(provided) <- sprintf("k%d", seq_along(keyFieldIds)) : 
  'names' attribute [1] must be the same length as the vector [0]

because of the code in matchRecordIdsByKey() which includes a serial number, which isn't present in the input data.