earthsci
earthsci copied to clipboard
Intent failure messages are confusing
When an intent fails to find a filter, the error message shown is confusing and misleading in the context of the action that the user is trying to perform.
For example, when opening a new catalog, if a layer definition is selected, the following error message is shown:
Error opening catalog.
Reason:
Could not find filter to handle intent: Intent [URI: file:/V:/projects/data/13-7250%20-%20ASEG%20Data%20Viewer/Viewer/data/Layers/Earthbyte/rate.xml, content-type: au.gov.ga.earthsci.layer.xml, required return-type: au.gov.ga.earthsci.catalog.ICatalogTreeNode]
This could be improved by giving more information to the user. The example above could be transformed to something like: Could not open catalog. The URL you are trying to open could be a layer; try opening it in the layer panel instead.
But this would mean assigning custom error messages and solutions to each content type.