[GeoNetwork-users] Ticket #966 - Geonetwork 2.8 not running in IE7

Hi,

I downloaded nigthly build 2013-01-2. I tested ticket #996 (IE7) in order to
see if it's solved, but it is not. In that ticket, Ian talks about an
'/attachment ticket996-header_cleanup.patch/'. I think that this patch has
been applied but it's not solving the problem. GN shows a blank page with
the spinner riunning indefinitely and the IE error is 'Line 283, Object
doesn't support this property or method'.

Our platform has IE7 in all the computers, so, we really need that. If you
want me to do some test, please, let me know, I'm really interested in that
issue.

Is this going to be solved for the next 2.8 release?

Thanks a lot and bests regards,
Montse

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Montse,

After applying the ticket996-header_cleanup.patch did you clear your browser
cache? I tested it on 2 systems and it seems to have fixed the hanging
issues.

Regarding it being solved by the next 2.8 release - I don't think it will.
Based on the following discussions
<http://osgeo-org.1560.n6.nabble.com/GeoNetwork-opensource-Developer-website-996-IE7-Main-page-failes-to-load-due-to-javascript-error-td4990804.html&gt;
it was decided that the patch may only be applied to the 2.8.1 release
(assuming it does not break something else).

I have been meaning to apply the fix to the 2.9/master branch so that it can
be tested more extensively. I will see if I can submit a pull request for
the master soon. (although I am interested in finding out why the fix worked
for me but does not work for you)

Note: if you looks at the updated 2.8 installation documentation
<https://github.com/geonetwork/core-doc-sources/blob/master/eng/users/source/quickstartguide/installing/index.rst&gt;
, you should noticed that browser support is only for IE8 and up so IE7 is
no longer a supported. So even if this particular issue is resolved - it
does not mean that you will not have other IE7 issues.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5031472.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I Ian,

I realized that the nigthly build '2013-01-2' that I've installed does not
have this patch. I don't know were I can find the 2.8.1 release in order to
test it.

Thanks a lot for your help.
Montse

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5031935.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Monstse

I did some tests with these changes and seem working for me, loading
without error the main page. But the main issue is that i'm using IE9 in
IE7 mode, so not sure if really will work in a real IE7.

If you can try the changes, clean the cache and access to
http://server:8080/geonetwork/srv/eng/main.home*?debug=true*, so
gn_search.js is loaded instead of minified version, would be great to
confirm.

I don't know if this solves all cases, but seem at least initial page load
is fine now. If you confirm is fine, I'll manage to commit in 2.8.x and
master branches.

Changes:

* xsl/main-page.xsl

$("loading").hide() changed to Element.hide("loading")

* scripts/gn_search.js

function openSearch(s)
{
  if( ! Prototype.Browser.IE )
  {
    Effect.BlindDown(s);
  }
  else
  {
    *Element.show(s)();*
  }
}

function closeSearch(s)
{
  if( ! Prototype.Browser.IE )
  {
    Effect.BlindUp($(s));
  }
  else
  {
    *Element.hide(s);*
  }
}

Regards,
Jose García

On Mon, Feb 4, 2013 at 12:37 PM, mmarco <mmarcosabate@anonymised.com> wrote:

I Ian,

I realized that the nigthly build '2013-01-2' that I've installed does not
have this patch. I don't know were I can find the 2.8.1 release in order to
test it.

Thanks a lot for your help.
Montse

--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5031935.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

Jose,

It looks like you applied the first patch to this ticket...

This is not the real fix for IE7 as there were still some issues. As
mentioned in the ticket, the real problem is the double loading of the
prototype.js.

ticket996-header_cleanup.patch was my second attempt to fix the issue and
seems more reliable based on my testing. But Monste said it did not work for
him....

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5031969.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Montse,

We will only start working on the 2.8.1 after the 2.8.0 is release. At that
point we can apply the patch and test. In the mean time there is no release
(including nightly builds) that currently has the patch - it needs to be
applied manually.

You can try the following.

Download the nightly build.

http://nightlybuild.geonetwork-opensource.org/28branch/geonetwork-install-branch28-2013-01-28.jar

Install the software using

java -jar geonetwork-install-branch28-2013-01-28.jar

go to the folder \apps\geonetwork\web\geonetwork\xsl

replace the following files

   main-page.xsl
   metadata-show.xsl

By the ones that I just put in a test fork at the following url
https://github.com/ianwallen/core-geonetwork/tree/2.8.x/web/src/main/webapp/xsl

Now start the geonetwork server

Make sure you clear your ie7 browser cache and then test to see if it fixes
your problem.

Let me know how it goes.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032025.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Ian

Sorry, I miss about the first patch. Indeed if it's loaded twice, should be
fixed to leave only one.

Regards,
Jose García

On Mon, Feb 4, 2013 at 2:34 PM, ianwallen <ianwallen@anonymised.com> wrote:

Jose,

It looks like you applied the first patch to this ticket...

This is not the real fix for IE7 as there were still some issues. As
mentioned in the ticket, the real problem is the double loading of the
prototype.js.

ticket996-header_cleanup.patch was my second attempt to fix the issue and
seems more reliable based on my testing. But Monste said it did not work
for
him....

--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5031969.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

Jose,

I tried to delete the old patch - to avoid confusion but I did not find a
way. - In the future I will make sure to overwrite the patch : )

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032095.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I just submitted pull request #71
<https://github.com/geonetwork/core-geonetwork/pull/71&gt; to apply the
master - hopefully it can be tested and if all is well, it can make it to
the 2.8 release (or at least the 2.8.1 release)

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032097.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi,

I made the test and it seems that it works properly. I loaded metadata and I
made several tests: searches, editing, etc... and all the operations were
correct.

I hope it can be included in the 2.8. Otherwise, I'll change those two files
once released.

Thanks a lot for all!
Montse

PD.- I noticed that nightly builds were stopped on Jan 28, does it mean that
2.8 is about to be released?

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032173.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Montse

Nightly builds are working again. Seem a process was stalled in hudson
server used to make the builds and was blocking the builds.

Apologies, now is working again.

Regards,
Jose García

On Tue, Feb 5, 2013 at 11:39 AM, mmarco <mmarcosabate@anonymised.com> wrote:

Hi,

I made the test and it seems that it works properly. I loaded metadata and
I
made several tests: searches, editing, etc... and all the operations were
correct.

I hope it can be included in the 2.8. Otherwise, I'll change those two
files
once released.

Thanks a lot for all!
Montse

PD.- I noticed that nightly builds were stopped on Jan 28, does it mean
that
2.8 is about to be released?

--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032173.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

Thanks Jose,

In de developer forum I read that 2.8 release will be ready for late january
or early february.
Is going to be delivered during this month? If not, what is the estimated
date?

Thanks in advance,

Best regards
Montse

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032417.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Montse

The date was scheduled finally for next monday 11 February.

Regards,
Jose García

On Wed, Feb 6, 2013 at 10:45 AM, mmarco <mmarcosabate@anonymised.com> wrote:

Thanks Jose,

In de developer forum I read that 2.8 release will be ready for late
january
or early february.
Is going to be delivered during this month? If not, what is the estimated
date?

Thanks in advance,

Best regards
Montse

--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032417.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

Great! I'll install once released.

I'm running 2.8 RC2 and I'm really interested in moving to 2.8

Best regards,
Montse

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032800.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi

Just a clarification on release date, seem I was confused about 11 February
and the date that was proposed is 14 February.

Sorry about this.

Regards,
Jose García

On Thu, Feb 7, 2013 at 2:15 PM, mmarco <mmarcosabate@anonymised.com> wrote:

Great! I'll install once released.

I'm running 2.8 RC2 and I'm really interested in moving to 2.8

Best regards,
Montse

--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Ticket-966-Geonetwork-2-8-not-running-in-IE7-tp5031145p5032800.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*