vanderbilt-redcap / auto-record-generation

Module that allows for a new record to be generated in another project (or the same project) on a flagging field being saved. Allows for data fields to be transferred to the new record as well.
MIT License
4 stars 3 forks source link

Module throws error on import when overwriting existing values #16

Closed tertek closed 1 year ago

tertek commented 2 years ago

When uploading a .csv that contains already existing records and option to overwrite existing values is enabled, module outputs error message.

It would be better, if this case could be ignored, (not running the module without giving error), since it confused users that have no idea about the module but are using the import tool.

image

image

https://github.com/vanderbilt-redcap/auto-record-generation/blob/fda377bd607cad8a5de10afa61b868baa3d69594/import-page-top.php#L44-L48