-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spinner doesn't go away until you log off for 33K or more CVRs (in Chrome) #775
Comments
See Test Case #5, in https://drive.google.com/open?id=0B5_BzTbq3XxPYUVhVnNSaEZQOGs |
@sfsinger19103, I can't reproduce this locally. I think the problem is just that it is taking a long time to process the CVR export file, and the users are not getting progress indication other than the spinner. Regardless, this isn't a client bug, unless we can reproduce a case where (1) the CVR export upload_and_ import succeeded per the server logs, but (2) the client is still stuck in a spinner state. |
Note: I tested the case where I manually interrupt the backend import processing, causing a network failure. As expected, the spinner disappears, the CVR export form resets to its initial state, and the user gets an error message. |
Closing unless someone can repro. |
CDOS is still observing this bug in their environment. Reopening while we help identify a repro and fix. |
Closes #775. Until now, we only dispatched `..._NETWORK_FAIL` actions when a fetch failed and the browser deemed it a network error of a certain kind, per the `message` property of the thrown error. However, we shouldn't assume that all browsers will set the error's `message` property in the same way, and we should recover robustly when we are unable to parse JSON from the response body (e.g. due to an error at the level of a reverse proxy server). By being too picky about what the thrown error looked like, we were failing to clean up after certain kinds of non-HTTP/network error, which was usually asymptomatic, but in the case of ballot manifest and CVR export uploads, could lead to a "stuck" spinner state. These changes fix that.
This was auto-closed; reopening until we confirm that this is fixed for CDOS. |
Verbal description from CDOS: at 33K CVRs the spinner doesn’t go away until you log off, or until the state starts the audit.
[We expect to receive a more carefully documented description, with screenshots, by the end of the week.]
The text was updated successfully, but these errors were encountered: