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

Fix an error when GN is deployed as ROOT context ("/") #4358

Conversation

@juanluisrp
Copy link
Contributor

juanluisrp commented Jan 13, 2020

Fixes #4309. Fixes an ArrayIndexOutOfBoundsException that happened when
GeoNetwork is deployed with ROOT ("/") as context name.

It also fix a bug related to the wrong part of the URL being selected as
the locale used in the request.

Fixes #4309. Fixes an `ArrayIndexOutOfBoundsException` that happened when
GeoNetwork is deployed with ROOT ("/") as context name.

It also fix a bug related to the wrong part of the URL being selected as
the locale used in the request.
@juanluisrp juanluisrp added the bug label Jan 13, 2020
@juanluisrp juanluisrp added this to the 3.10.0 milestone Jan 13, 2020
@juanluisrp juanluisrp requested review from josegar74 and fxprunayre Jan 13, 2020
@juanluisrp juanluisrp merged commit efc50e5 into geonetwork:master Jan 15, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
juanluisrp added a commit to juanluisrp/core-geonetwork that referenced this pull request Jan 15, 2020
Fixes geonetwork#4309. Fixes an `ArrayIndexOutOfBoundsException` that happened when
GeoNetwork is deployed with ROOT ("/") as context name.

It also fix a bug related to the wrong part of the URL being selected as
the locale used in the request.

Backport of geonetwork#4358.
@juanluisrp juanluisrp deleted the juanluisrp:fixes/master/4309-deploy-as-root-context branch Jan 15, 2020
@pvgenuchten

This comment has been minimized.

Copy link
Contributor

pvgenuchten commented Jan 15, 2020

yes it works fine juan, thanx for the work

pvgenuchten added a commit that referenced this pull request Jan 15, 2020
Fixes #4309. Fixes an `ArrayIndexOutOfBoundsException` that happened when
GeoNetwork is deployed with ROOT ("/") as context name.

It also fix a bug related to the wrong part of the URL being selected as
the locale used in the request.

Backport of #4358.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.