[GeoNetwork-devel] Fixed bug in GeoNetwork

Here’s a bug report that needs more investigation. I’ll raise a ticket in the coming days while online (in train now).
Ciao,
Jeroen

Begin forwarded message:

From: Seib Jürgen <Juergen.Seib@anonymised.com>
Date: March 24, 2009 4:46:30 PM GMT+01:00
To: Jeroen.Ticheler@anonymised.com
Subject: Fixed bug in GeoNetwork

Dear Jeroen,

We deployed GeoNetwork 2.2.0 on Oracle Internet Application Server. In principal it works fine. However, we found a bug in the harvesting management. The exception NS_ERROR_INVALID_POINTER occurs in the script xsl-transformer.js if the link “harvesting managment” is selected in the administration page. The problem is, that the value of t.responseXML is null. I fixed the problem for the Firefox 3.0 browser by introducing the following lines of code:

if (t.responseXML == null)
{
parser = new window.DOMParser();
t.responseXML = parser.parseFromString(t.responseText,‘text/xml’);
}

Nevertheless, the problem still exists for MS Internet Explorer. I was not able to find out the real reason of the problem. May be you will really detect the error and find a better bug fix. The revised version of the script xsl-transformer.js is attached to this email.

Kind regards,
Jürgen

Dr. Jürgen Seib
Deutscher Wetterdienst
TI1/K - IT-Koordination
Frankfurter Strasse 135
63067 Offenbach
Tel.: +49(69)8062-2609
EMail: juergen.seib@anonymised.com

(attachments)

xsl-transformer.js.txt (3.69 KB)