Open pvgenuchten opened 4 years ago
causing a js error in browser
There is no JS error. A HTTP call with a status 500.
Based on the response some functionalities are enabled or not. eg WFS feature indexing for the map app.
I guess a better option can be to return a report of the status of services (with http 200) instead of returning http 500, but to check what code changes are required for this in the UI.
the point here is that gn should not check any elastic status, if elastic is not configured
I guess should check Elastic, but the backend should return some message indicating it's not enabled, instead of an error, so the UI can disable the related elements.
HI
Is there any news about this issue ? This error is still present in 3.12.9
UI calls /geonetwork/warninghealthcheck at every load, this method fails always if no elastic is configured, causing a js error in browser
Why are we always calling warninghealthcheck? Maybe we should only call it if a relevant admin page is loaded?
This method should not return an error related to elastic if the instance is not setup with elastic
and