geonetwork / geonetwork/core-geonetwork

Improve feedback when GN cannot connect to service if not logged in

Open
#7,613 2 comments 0 reactions 1 assignee Claimed by @josegar74 View on GitHub
enhancement
Dominant language
Java
Stars
521
Forks
514
Avg merge
6d 13h
Merged PRs (30d)
19

Description

**Background**
In the downloads/links/etc. section of the metadata record page, anonymous users get to see something like this if GeoNetwork cannot connect to a service and its URL can therefore not be analyzed:

![image](https://github.com/geonetwork/core-geonetwork/assets/8972335/c5772cba-f606-402c-86d7-202f7b884049)

However, if you would log in to GeoNetwork, this message disappears and you get to see a `Download` button instead.

**Problem**
The `Unable to connect to service` message is unclear and falsely gives the impression that the URL cannot be reached and/or the service is down.

**Proposed solution**
In the case that the URL cannot be analyzed because the user is not logged in, instead of showing `Unable to connect to service`, change the message to `Please log in to connect to the service` or something like that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.