Summary
The IP Info extension provides a popup which can be used to get IPInfo data about a target. When this request fails, the translated error message is defined to be preferred. However, this is not displayed due to a bug.
Background
- The IP Info popup widget is present on pages like the history page
- This popup displays IPInfo data for users with access
- However the icon to open the popup still shows for users who are site-wide blocked but still have the needed right
- When a user is site-wide blocked, the popup when opened should display some kind of error indicating the failure
- However, it instead just displays the generic details
User story
As a user using the IP Info tools I want to know why my request to get IPInfo data using the popup failed, and not just see a generic error message
Technical notes
- It appears that the handler for a failed request does not take the second errorObject argument and assumes the first argument contains this data
- Furthermore, the structure of error parameter (even if it was the second errorObject argument) seems to be incorrectly defined
Acceptance criteria
- When there is a specific translated error message returned by the IP Info API, the popup should display this error over the default generic message
