[GeoNetwork-devel] Bug in intermap script im_class.js [SEC=UNCLASSIFIED]

Folks,

I apologise for reposting this but I wanted to be sure the problem wasn’t lost in the discussion.

there is a bug in the intermap script, im_class.js.

The bug appears at line 178, in the function getURLbbox. The code fragment:

if(this.north)

return MapUtils……

else

return null;

will return null if this.north has the value null OR if this.north is 0 (i.e. the equator).

I suggest the test be changed to:

if(this.north != null)

Regards,

Steve