[Building Sakai] Profile 2 and IE8 issue

Adam Marshall adam.marshall at oucs.ox.ac.uk
Thu Jan 7 04:47:41 PST 2010


INFO: focus removed from wicket-generated-id-6
INFO: focus set on connectionLink50
INFO:
INFO: Initiating Ajax GET request on ?wicket:interface=:7:searchResultsContainer:results-list:0:connectionContainer:connectionLink::IBehaviorListener:0:-1&random=0.7929790233556813
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (3223 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution encoding="wicket1" ><![CDATA[<head xmlns:wicket="http://wicket.apache.org"><script type="text/javascript" src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
<script type="text/javascript" src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
<script type="text/javascript" src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript" id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
wicketAjaxDebugEnable=true;
/*-->]^]^>*/</script>

<script type="text/javascript" src="resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.js"></script>
<link rel="stylesheet" type="text/css" href="resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.css" />
</head>]]></header-contribution><component id="connectionWindow4d" ><![CDATA[<div id="connectionWindow4d" style="display:none">
    <div id="content54">

    <div class="modalWindowWrapper">
        <div class="modalWindowImage">

<img src="images/no_image.gif"/>

</div>
        <div class="modalWindowMain">
            <div class="modalWindowText" id="text56"><b>Sakai Administrator</b> will have to confirm your request.</div>
            <form id="form57" method="post" action="?wicket:interface=:7:connectionWindow:content:form::IFormSubmitListener::"><div style="display:none"><input type="hidden" name="form57_hf_0" id="form57_hf_0" /></div>
                <div class="modalWindowButtons">
                    <input type="submit" value="Add connection" name=":submit" id="submit55" onclick="var wcall=wicketSubmitFormById('form57', '?wicket:interface=:7:connectionWindow:content:form:submit::IActivePageBehaviorListener:0:-1&amp;wicket:ignoreIfNotActive=true', ':submit' ,null,null, function() {return Wicket.$$(this)&amp;&amp;Wicket.$$('form57')}.bind(this));;; return false;"/>
                    <input type="button" value="Cancel" name="cancel" id="cancel58" onclick="var wcall=wicketSubmitFormById('form57', '?wicket:interface=:7:connectionWindow:content:form:cancel::IActivePageBehaviorListener:0:-1&amp;wicket:ignoreIfNotActive=true', 'cancel' ,null,null, function() {return Wicket.$$(this)&amp;&amp;Wicket.$$('form57')}.bind(this));;; return false;"/>
                </div>
            </form>
        </div>
    </div>

</div>
</div>]]></component><evaluate><![CDATA[var element = document.getElementById("content54");
var settings = new Object();
settings.minWidth=200;
settings.minHeight=200;
settings.className="w_blue";
settings.width=500;
settings.height=150;
settings.resizable=false;
settings.widthUnit="px";
settings.heightUnit="px";
settings.element=element;
settings.title="Add Sakai Administrator as a connection?";
settings.mask="semi-transparent";
settings.onClose = function() { var wcall=wicketAjaxGet('?wicket:interface=:7:connectionWindow::IBehaviorListener:1:-1',null,null, function() {return Wicket.$('connectionWindow4d') != null;}.bind(this)); };
Wicket.Window.create(settings).show();
]]></evaluate><evaluate><![CDATA[fixWindowVertical();]]></evaluate><evaluate><![CDATA[document.getElementById('submit55').focus()]]></evaluate></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: returned focused element: http://nightly2.sakaiproject.org:8085/portal/tool/ce1f644c-492a-45f1-aafa-fb094310b789/?wicket:interface=:7::::#
INFO: returned focused element: http://nightly2.sakaiproject.org:8085/portal/tool/ce1f644c-492a-45f1-aafa-fb094310b789/?wicket:interface=:7::::#
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: focus removed from connectionLink50
INFO: focus set on submit55
INFO: focus removed from submit55
INFO: refocus last focused component not needed/allowed


------------------------------------------------------------------------------------------------------------

add connection:

INFO: focus set on wicket-generated-id-6
INFO: focus removed from wicket-generated-id-6
INFO: focus set on submit55
INFO:
INFO: Initiating Ajax POST request on ?wicket:interface=:7:connectionWindow:content:form:submit::IActivePageBehaviorListener:0:-1&wicket:ignoreIfNotActive=true&random=0.46738405782083225
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (541 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><evaluate><![CDATA[var win;
try {
    win = window.parent.Wicket.Window;
} catch (ignore) {
}
if (typeof(win) == "undefined" || typeof(win.current) == "undefined") {
  try {
     win = window.Wicket.Window;
  } catch (ignore) {
  }
}
if (typeof(win) != "undefined" && typeof(win.current) != "undefined") {
 var close = function(w) { w.setTimeout(function() {
        win.current.close();
    }, 0);  }
    try { close(window.parent); } catch (ignore) { close(window); };
}]]></evaluate></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO:
INFO: Initiating Ajax GET request on ?wicket:interface=:7:connectionWindow::IBehaviorListener:1:-1&random=0.24598788864306242
INFO: Invoking pre-call handler(s)...
INFO: focus removed from submit55
INFO: refocus last focused component not needed/allowed
INFO: Received ajax response (915 characters)
INFO:
<?xml version="1.0" encoding="UTF-8"?><ajax-response><header-contribution encoding="wicket1" ><![CDATA[<head xmlns:wicket="http://wicket.apache.org"><script type="text/javascript" src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js"></script>
<script type="text/javascript" src="resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js"></script>
<script type="text/javascript" src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript" id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
wicketAjaxDebugEnable=true;
/*-->]^]^>*/</script>

</head>]]></header-contribution><component id="connectionContainer4f" ><![CDATA[<li id="connectionContainer4f"><span id="connectionLink50" class="instruction"><span id="connectionLabel51">Connection requested</span></span></li>]]></component></ajax-response>
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
INFO: refocus last focused component not needed/allowed
--

Dr AC Marshall (WebLearn Service Manager)
OUCS, 13, Banbury Rd. Oxford. OX2 6NN
________________________________
From: Steve Swinsburg [steve.swinsburg at gmail.com]
Sent: 07 January 2010 12:40
To: Adam Marshall
Cc: Nuno Fernandes; Mark Breuker; Sakai Developers
Subject: Re: [Building Sakai] Profile 2 and IE8 issue

Adam,

I've added a new test plan in the comments of the Jira. If you could follow it and add your output, that would be very helpful.

Thanks!
Steve



On 07/01/2010, at 11:29 PM, Adam Marshall wrote:

I'll try again with a brand new username - maybe I didn’t click where  thought I did!

adam

From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com]
Sent: 07 January 2010 12:24
To: Nuno Fernandes
Cc: Adam Marshall; Mark Breuker; Sakai Developers
Subject: Re: [Building Sakai] Profile 2 and IE8 issue

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<mailto: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> [mailto: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<mailto: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<mailto: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://codingwithcoffee.com/> | http://twitter.com/nfgrilo
Work     | Analyst/Programmer @ UFP-UV [http://elearning.ufp.pt<http://elearning.ufp.pt/>]
             | Analyst/Programmer @ Sakai Foundation [http://sakaiproject.org<http://sakaiproject.org/>]
             | Sakai Fellow 2008 @ Sakai Foundation [http://confluence.sakaiproject.org//x/6oCTAQ<http://confluence.sakaiproject.org/x/6oCTAQ>]
Address | Universidade Fernando Pessoa  [http://www.ufp.pt<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/a864e91f/attachment.html 


More information about the sakai-dev mailing list