[Building Sakai] Profile 2 and IE8 issue

Nuno Fernandes nuno at ufp.edu.pt
Thu Jan 7 05:52:42 PST 2010


>
> No this is an internal Wicket javascript library added when you add
> components for rendering, it's not in any HTML page. I don't think this is
> the solution in this particular case as each HTML page in Profile2 has the
> doctype declaration as the very first element.
>

Right!

AFAIK, only SiteStats suffered from the mysterious IE hang caused by having
the license header before the DOCTYPE!

Nuno



>
> cheers,
> Steve
>
>
> On 08/01/2010, at 12:30 AM, Berg, A.M. wrote:
>
>  Hi all,
>
> If there is an easy to search for bug pattern in the HTML then I/someone
> can write a small Perl or Bash script to check the various code bases. Best
> to double check that we don't have some other places that might trigger a
> bang. Nuno can you advise, is it just an HTML page using a certain
> javascript method with a specific HTML tag in the page?
>
> Alan
>
> Alan Berg
> Interim QA Director - The Sakai Foundation
>
> Senior Developer / Quality Assurance
> Group Education and Research Services
> Central Computer Services
> University of Amsterdam
>
> http://home.uva.nl/a.m.berg
>
>
>
>
> -----Original Message-----
> From: sakai-dev-bounces at collab.sakaiproject.org on behalf of Nuno
> Fernandes
> Sent: Thu 1/7/2010 13:45
> To: Steve Swinsburg
> Cc: Sakai Developers
> Subject: Re: [Building Sakai] Profile 2 and IE8 issue
>
> Hi Steve!
>
> No, SiteStats doesn't use Wicket Modal Dialogs, but I think the problem is
> related the ajax response after clicking the button - in SiteStats, IE
> hanged after an ajax response and no other browsers experienced the same
> issue.
>
> I have just found the related SVN commit with the issue I experienced:
>
> http://source.sakaiproject.org/viewsvn?view=revision&root=contrib&revision=63646
>
> <http://jira.sakaiproject.org/browse/STAT-182>Actually, it was not related
> with the doc type itself, but with the fact that there were a license
> comment BEFORE the DOCTYPE - that crashed IE!
>
> In your case - and if you do have *anything* before the doctype - you can
> change the "base" html (extended by other wicket pages) or change only the
> page served by the server after clicking the dialog button!
>
> Hope this helps,
> Nuno
>
> On Thu, Jan 7, 2010 at 12:24 PM, Steve Swinsburg
> <steve.swinsburg at gmail.com>wrote:
>
> > Hi Nuno,
> >
> > Do you have any more info on your fix? Were you experiencing the same
> > thing? The Doctype for the pages is:
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > <html xmlns="http://www.w3.org/1999/xhtml"
> >       xmlns:wicket="
> http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
> >       xml:lang="en"
> >       lang="en">
> >
> > but looking through Sitestats, they are also set to Strict:
> >
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> >     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> > <html
> >       xmlns="http://www.w3.org/1999/xhtml"
> >       xmlns:wicket="http://wicket.sourceforge.net/"
> >       xml:lang="en"
> >       lang="en">
> >
> > Does SiteStats use Wicket's ModalWindows?
> >
> > Adam's first issue is a new one too, very odd, considering it doesn't
> > happen in any other browser I've tested on.
> >
> > Steve
> >
> >
> >
> > On 07/01/2010, at 10:52 PM, Nuno Fernandes wrote:
> >
> > Hi!
> >
> > I remember hitting a similar problem (IE hanging) when writing up
> > StiteStats 2.0 (which is based on Wicket too).
> > After some days (!!!) of debugging, I realized that changing the HTML
> > DOCTYPE fixed the issue!!! You can try changing it and check if it solves
> > the issue!
> >
> > Nuno
> >
> > On Thu, Jan 7, 2010 at 11:46 AM, Adam Marshall <
> > adam.marshall at oucs.ox.ac.uk> wrote:
> >
> >>  When I clicked on add connection I briefly saw the dialogue box and
> then
> >> got a pop up asking me if I really wanted to navigate away from the
> page. I
> >> clicked ok and got put at the profile tool's first page. The second time
> I
> >> tried the brower hung. This with 8.0.6001.18372 on XP.
> >>
> >>
> >> The second time around, whilst the pop up is visible I also get weird
> >> behaviour with the scroll bars on the iframe appearing and disappearing
> ad
> >> infinitum, this causes the debug link to wobble around the screen.
> Clicking
> >> cancel
> >>
> >>
> >> let me know if you need me to do more.
> >>
> >>
> >> adam
> >>
> >>
> >> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> >> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Mark Breuker
> >> *Sent:* 07 January 2010 10:20
> >> *To:* Sakai Developers
> >> *Subject:* [Building Sakai] Profile 2 and IE8 issue
> >>
> >>
> >> Hi all,
> >>
> >>
> >> Steve Swinsburg, Daniel Robinson and I have been working on an issue
> with
> >> Profile 2 where IE8 crashes when adding a connection. The strange thing
> is
> >> that so far only I am experiencing this problem (on multiple machines,
> >> operating systems etc). Daniel cannot reproduce it with IE8 on Sakai
> >> Nightly. Can anyone else please try against
> >> http://nightly2.sakaiproject.org:8085/portal if they can reproduce this
> >> issue?
> >>
> >>
> >> The steps to reproduce are described in the issue:
> >> http://jira.sakaiproject.org/browse/PRFL-146
> >>
> >>
> >> You can add me (mbreuker) as a connection to test.
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Mark
> >>
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> sakai-dev mailing list
> >> sakai-dev at collab.sakaiproject.org
> >> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >>
> >> TO UNSUBSCRIBE: send email to
> >> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> >> "unsubscribe"
> >>
> >
> >
> >
> > --
> > Nuno Fernandes
> >
> > Profile    | http://facebook.com/nfgrilo |
> http://linkedin.com/in/nfgrilo
> > Web      | http://codingwithcoffee.com | http://twitter.com/nfgrilo
> > Work     | Analyst/Programmer @ UFP-UV [http://elearning.ufp.pt]
> >              | Analyst/Programmer @ Sakai Foundation [
> > http://sakaiproject.org]
> >              | Sakai Fellow 2008 @ Sakai Foundation [
> > http://confluence.sakaiproject.org//x/6oCTAQ]
> > Address | Universidade Fernando Pessoa  [http://www.ufp.pt]
> >              | Praça 9 de Abril, 349    | 4249-004 Porto
> >              | tel: + 351 22 507 13 00 | fax: + 351 22 550 82 69
> >
> >
> >
>
>
> --
> Nuno Fernandes
>
> Profile    | http://facebook.com/nfgrilo | http://linkedin.com/in/nfgrilo
> Web      | http://codingwithcoffee.com | http://twitter.com/nfgrilo
> Work     | Analyst/Programmer @ UFP-UV [http://elearning.ufp.pt]
>              | Analyst/Programmer @ Sakai Foundation [
> http://sakaiproject.org]
>              | Sakai Fellow 2008 @ Sakai Foundation [
> http://confluence.sakaiproject.org//x/6oCTAQ]
> Address | Universidade Fernando Pessoa  [http://www.ufp.pt]
>              | Praça 9 de Abril, 349    | 4249-004 Porto
>              | tel: + 351 22 507 13 00 | fax: + 351 22 550 82 69
>
>
>


-- 
Nuno Fernandes

Profile    | http://facebook.com/nfgrilo | http://linkedin.com/in/nfgrilo
Web      | http://codingwithcoffee.com | http://twitter.com/nfgrilo
Work     | Analyst/Programmer @ UFP-UV [http://elearning.ufp.pt]
             | Analyst/Programmer @ Sakai Foundation [
http://sakaiproject.org]
             | Sakai Fellow 2008 @ Sakai Foundation [
http://confluence.sakaiproject.org//x/6oCTAQ]
Address | Universidade Fernando Pessoa  [http://www.ufp.pt]
             | Praça 9 de Abril, 349    | 4249-004 Porto
             | tel: + 351 22 507 13 00 | fax: + 351 22 550 82 69
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100107/cfb0a0ac/attachment.html 


More information about the sakai-dev mailing list