Hi there.
We are having some issues with our geonetwork installation. Our application is running behind a reverse proxy, which seems to be causing issues with some of the JavaScript on Geonetwork. When a metadata record is loaded via the "Recent updates" sidebar, after about a minute or so, a JavaScript alert window pops up with something the following sequence.
1) TypeError: node is undefined
2) After clicking ok on this one... this pops up
function (xmlRes) {
if (xmlRes.nodeName == "error") {
ker.showError(loader.getText("cannotGet"), xmlRes);
} else {
var htmlTip = getHtmlTip(xmlRes.getElementsByTagName("element")[0]);
tip = document.createElement("div");
tip.className = "tooltip";
tip.innerHTML = htmlTip;
tip.style.display = "none";
tip.style.zIndex = 32000;
document.body.appendChild(tip);
tip.style.left = x;
tip.style.top = y;
if (!exited) {
timer = setTimeout(ker.wrap(this, mouseIn_CB), 300);
}
}
}
3) After clicking on this, another one pops up with [object Window]
This process seems to cascase quite quickly, and eventually will end up paralyzing the browser farily quickly.
I suspect this has something to do with the reverse proxy configuration, but am not sure. If you dare, you can see for your self at http://apps.who.int/tools/geonetwork, but beware, this may end up crashing your browser. There are various other problems as well, such as not being able to logon. Trying to logon through the reverse proxy address yields this message "
Error
The requested operation could not be performed.
MissingParameterEx : username
However, if the revrese proxy address is not used, but the "real" server address, accessible only through the local WHO network, http://myintranetserver.who.int/geonetwork works just fine.
Obviously, I would like to be able to fix these JavaScript problems, but first I just want to be able to disable the alert boxes completely. However, it is not clear exactly what is calling this code. Any clues to 1) how to disable the messages (as otherwise, everything seems to work fine) and 2) how to fix it ?
Best regards,
Jason