active_admin_import icon indicating copy to clipboard operation
active_admin_import copied to clipboard

Show CSV line number of failed import?

Open kyreeves opened this issue 9 years ago • 2 comments

Hey there! I would like the add a CSV line number to the error messages in the case of large imports. Any ideas on how I could do that?

kyreeves avatar Oct 23 '15 17:10 kyreeves

@kyreeves , this is not supported at the moment, don't think it will be implemented in near future, but you're welcome to create PR

Fivell avatar Oct 27 '15 11:10 Fivell

@kyreeves , it can be handled only by validating csv right now, try master branch, after handling CSV::MalformedCSVError it should show flash message with something like Unquoted fields do not allow \r or \n (line 10).

refs #99

Fivell avatar May 05 '16 11:05 Fivell