Skip to content

/import status REST endpoint: fix null-unsafe access to import_state

What does this MR do?

Fixes #214302 (closed)

Note that I have not added a test for this, since I am working on an MR in parallel which adds a full test suite for this class already. It will make it easier to merge these changes if I instead add a test in this MR: !28915 (merged)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

See above; will add a unit test in !28915 (merged)

Edited by 🤖 GitLab Bot 🤖

Merge request reports