Import - also export invalid as export error
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 6 May 2022 21:48:10 +0000 (09:48 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 6 May 2022 22:10:45 +0000 (10:10 +1200)
commit2d4bfbff120f8453de96b4299180647835aee828
tree53ca915f2fe28304fff04bb9c806dc274470480e
parent730ded66a3633ac22c2dff27b0a834495d85dc78
Import - also export invalid as export error

I found that rows that fail validation are marked 'invalid'
rather than error & won't show on the preview screen.

I guess I could check for invalid vs error separately
- gets kinda weird though - if you leave them
in the file you are importing surely they are still errors
to see on the summary screen even though
you knew they were invalid on the Preview?
CRM/Import/DataSource.php