Bug #6642
closedNavigating back from the Metadata View causes DataCatalogView error
0%
Description
For some reason, sometimes when navigating "back" in the browser, the URL hash changes from #data/page/0 to #page/0, causing an error because there is no "page" view in the router config.
Updated by Lauren Walker almost 10 years ago
- Status changed from New to Resolved
I found two bugs that were causing the Search view to not render when navigating back from the Metadata view.
1. When the annotator service is turned off (by omitting a Bioportal service URL in the AppModel), the Annotator view still tries to close the jQuery sidr. I added a "disabled" flag to the Annotator view.
2. When a filter was added and then the user navigates back to the search, there was an error re-drawing those filter UI elements when the filter label or description was not present.
I haven't been able to recreate the bug in the original description that I assumed was causing this error. I think that may have been fixed when I edited the Dataone router a while ago. I will keep my eye out for this again.