Repository: globaleaks/globaleaks-whistleblowing-software

Issue #487: download limits do not trigger an error client side
Created: 2013-07-27T07:40:34Z
When a file is downloaded the maximum amount of time, the error is not displayed with the common red box, but visualized as an HTML page. screenshot follow:

Duplicate issue #505: When downloads expire get wrong error message
Created: 2013-08-10T16:09:20Z
When downloading a file for too many times as a receiver I see this error message:
{"error_message": "You've reached the maximum amount of download for this file", "error_code": 33, "arguments": ["Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "Good login in wrong scope: you receiver, expected admin", "wrong schema: missing select_all_receivers", "wrong schema: missing select_all_receivers", "Good login in wrong scope: you wb, expected admin", "Good login in wrong scope: you wb, expected admin", "Good login in wrong scope: you wb, expected admin", "Good login in wrong scope: you wb, expected admin"]}

Closing comment (2013-08-10T16:11:21Z): Duplicate of #487