G'Day all,
We've been under very active development over the past few weeks and suddenly remembered to check the facility in MSIE (it's soooo easy to 'forget'!)...
To our horror, we found that GeoNetwork fails to render the page in MSIE9 (under the login div). If you run MSIE, the unfortunate situation is visible here: http://atlas.track.gov.au:8080/geonetwork
Opening the MSIE console, I can see this error:
SCRIPT438: Object doesn't support property or method 'createContextualFragment'
ext-all.js, line 35 character 108
Thrown at this line (35) of ext.js:
var range=el.ownerDocument.createRange();var frag;switch(where){case"beforebegin":range.setStartBefore(el);frag=range.createContextualFragment(html);el.parentNode.insertBefore(frag,el);return el.previousSibling;case"afterbegin":if(el.firstChild){range.setStartBefore(el.firstChild);frag=range.createContextualFragment(html);el.insertBefore(frag,el.firstChild);return el.firstChild;}else{el.innerHTML=html;return el.firstChild;}
There's a seemingly on-topic bug reported closed/fixed (??) here: http://trac.osgeo.org/geonetwork/ticket/522
We have the <meta http-equiv="X-UA-Compatible" content="IE=8" /> dropped in to the parent page, but GN is running in an iFrame. So we'd need to add this to the GN page template xsl I suppose...?
Questions:
1: Is #522 really describing our problem? Seems to be since if I set MSIE to 8 or 7 we get a result.
2: Has this not been addressed in GN releases over the 5mons since reported/closed in the trac site?
3: If we need to apply this meta tag manually now, where would it be best inserted?
I've tried dropping it on line 26 of the header.xsl file and restarting TomCat, but--even though I can now see the meta statement coming through in source on the page here: http://atlas.track.gov.au:8080/geonetwork/srv/en/main.home -- the page still fails to render in MSIE9 (Win7/64bit)
Could any kind soul point us in the general direction of a fix or further troubleshooting?
Kind regards,
JB
--
----
John Brisbin
Managing Director, BoaB interactive Pty Ltd
POB 802 Townsville, QLD 4810
M: 0407 471 565 | P: 07 3103 0574
Skype: boabjohn | Twitter: @boabjohn