Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portal list #4042

Merged
merged 2 commits into from
Sep 23, 2019
Merged

Portal list #4042

merged 2 commits into from
Sep 23, 2019

Conversation

fxprunayre
Copy link
Member

  • Add home page for portal list in API /api/sources (Accept header
    starts with text/html)

image

  • "/" redirect to default node if only one.
  • "/validPortalId" redirect to the corresponding portal.
  • "/invalidPortalId" redirect to portal list if more than one portal
    available or to the default if only one (fix geonetwork/home returns nullpointerexception #3884).

* Add home page for portal list in API /api/sources (Accept header
starts with text/html)
* "/" redirect to default node if only one.
* "/validPortalId" redirect to the corresponding portal.
* "/invalidPortalId" redirect to portal list if more than one portal
available or to the default if only one (fix geonetwork#3884).
@fxprunayre fxprunayre added this to the 3.8.1 milestone Sep 19, 2019
@fxprunayre fxprunayre merged commit ab3dc4f into geonetwork:master Sep 23, 2019
fxprunayre added a commit that referenced this pull request Sep 23, 2019
Portal list.

* Add home page for portal list in API /api/sources (Accept header
starts with text/html)
* "/" redirect to default node if only one.
* "/validPortalId" redirect to the corresponding portal.
* "/invalidPortalId" redirect to portal list if more than one portal
available or to the default if only one (fix #3884).
julsbreakdown pushed a commit to julsbreakdown/core-geonetwork that referenced this pull request Feb 7, 2020
Portal list.

* Add home page for portal list in API /api/sources (Accept header
starts with text/html)
* "/" redirect to default node if only one.
* "/validPortalId" redirect to the corresponding portal.
* "/invalidPortalId" redirect to portal list if more than one portal
available or to the default if only one (fix geonetwork#3884).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

geonetwork/home returns nullpointerexception
1 participant