Track Import Errors for a single Group Import run
This was raised as a follow up to: !25619 (merged)
Currently we do not report on the ImportFailure
records that were created for a single import attempt.
This means that when the group import is successful, but it has sub-relations that fail to import, we still tell the user that import was successful. This is because, when we report on errors to the user we look in shared.errors
- but errors that are reported through ImportFailureService
do not log the errors to the shared
object.
We should ensure that when we report on errors at the end of the import, we also take into account records that raised an ImportFailure
so that we can tell the user the import was only partially successful.