Show error(s) that caused import to fail
Currently we do not provide exact feedback to the user on failed import. We show:
- for the import that failed and no repository entities were imported only
Failed
badge in the UI as a general end state of import - for the failed import when some entities were imported
Failed
badge and "Details" button, that upon clicking expands to the count of how many items are complete (and the totals).
But we don't show any error that caused the import to fail.
Proposed solution
In this issue we want to show:
- if import was Failed and no entities were imported, we should show the error that caused that failure (that caused project not to be created or repository not to get migrated) (backend part for this was implemented in #388273 (closed)).
- if import was Failed and some entities were imported, we should show the
See failures
link under listing in "Details" section and clicking on this link would bring user to another page, that shows error(s) related to entity(s) that failed to be imported. Currently we show theSee failures
link for thePartially completed
imports:
Documentation
We should update the Check status of imports section in our documentation and add a note that import can also have Failed status when some repository entities were imported but a critical error occurred while importing an entity.