export of Feed fails to deliver useful message to user when NiFi is down

Description

1. Navigate to a deployed feed
2. Shut down NiFi
3. Choose Export from the Summary menu

Result: in Chrome no error is given, but the download file in download bar says "Error with Server".
Note: The zip download on the left is the result of choosing Export when Nifi is running.

Note: For some reason Chrome Developer Tools doesn't catch the call to the server to get the download. All the calls shown in the Network tab seem to be working and returing 200 code. But the NifiConnectionExceptionMapper is catching the ProcessinException from JerseyRestClient, I suspect we don't handle the error correctly with the requested content-type.

Environment

None

Status

Assignee

Tim Harsch

Reporter

Tim Harsch

Labels

None

Reviewer

None

Story point estimate

None

Components

Fix versions

Affects versions

0.10.0

Priority

Low
Configure