plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Edit Survey screen does not work in IE6  (#10425)
Issue

The Edit Survey screen does not work at all in IE6.

Solution Summary
Fixed in 7.7.19.<br />
Resolved by perlDreamer
Comments
preaction
0
5/27/2009 8:33 pm
The attached file makes it work a little bit more, but lack of proper debugging tools in IE has stymied me. MS won't let me have the MS Script Debugger because I'm not "genuine" enough. Firebug light does nothing.

This problem now affects both IE6 AND IE7
patspam
0
6/2/2009 1:53 am
I think I may have fixed this via commit 11089 (tested in IE7 only).

"Switched from document.getElementsByClassname to YAHOO.util.DOM.getElementsByClassName"
patspam
0
6/3/2009 2:28 am
Well, actually that was a different trailing comma bug.

Fixed independently for 7.6 stable in svn commit r11128.
perlDreamer
0
6/3/2009 8:51 am
Fixed in 7.7.9 and 7.6.26
Resolved by perlDreamer
preaction
0
6/3/2009 12:07 pm
Okay, so the page loads further now, but when I click on a section, or I try to add a new section, there are two problems:

1) The Add Section / Add Question buttons disappear
2) The "Submit" "Cancel" "Preview" buttons under the Rich Editor are instead covered by the Rich Editor

I've attached a screenshot
preaction
0
6/3/2009 12:07 pm
One more note: this happens in both IE6 and IE7 for me, but not FF 3
perlmonkey2
0
7/20/2009 2:04 pm
This is a bug in either YUI or FF.  When destroy is called on a YUI object the Dom element should also be destroyed.  This was working in FF because the dom el was not being destroyed.  A new solution must be found.  I'm trying to simply remove the current event handler and add a new one, but
YAHOO.util.Event.removeListener(sButton.get('id'));
an't doing crap.
perlDreamer
0
7/29/2009 10:06 pm
I've checked 7.6.33 against IE7, and it works fine.
perlmonkey2
0
7/29/2009 11:31 pm
perlDreamer, I have no idea what to tell you.  I talked with the YUI people and the problem appears to be in how we are using YUI.  Calling destroy on a YUI object apparently is supposed to destroy the attached DOM element.  In our case, we are relying upon that element not being destroyed.  

I guess a bullet proof solution would be to explicit try to destroy the el and recreate it before the YUI object.  But I'm not sure why the objects have to be destroyed in the first place (not that I can get an alternative to work).
perlDreamer
0
7/30/2009 12:18 pm
Updating my last check.

7.6.33, IE7

When I click Edit Survey, the form comes up okay.
I cancel out of the Add Section form that pops up automatically.
Then I click Add Section again, and IE says "Last request failed".
After that, Add Section, Add Question, and Add Answer work fine.
daviddelikat
0
8/10/2009 10:47 pm
perlDreamer: I did get some time to look at this, here's what I found (its not very exciting):  the add buttons do not appear in IE8 either, I can duplicate the failure, though not the error message in the last comment pretty reliably:  after you cancel the first add section box, try to view the 's1 new section' item, the first click will do nothing, the second click will bring up the dialog box.  cancel this dialog and click 'add section', cancel again, then click the 's1: new section' again.  it will fail yet again.  this works incorrectly on Safari and Firefox.  I was not able to test it on IE because the buttons are missing.  when I first looked at survey ( back in January ) I saw a problem with the state of the session that caused this sort of behavior.  when a session is canceled, there is something left behind that needs to clean up before it can make a new one.  sorry I can't remember any more details, but I can look at it more later on in the week.
perlmonkey2
0
8/27/2009 1:34 pm
Fixed and tested in IE6.  Stopped destroying and recreating the buttons and IE6 stopped having a problem redrawing them.
perlDreamer
0
8/28/2009 10:51 am
Fixed in 7.7.19.
Resolved by perlDreamer
Details
Ticket Status Resolved  
Rating0.0 
Submitted ByDBell 
Date Submitted2009-05-21 
Assigned To unassigned  
Date Assigned2019-07-16 
Assigned By 
Severity Fatal (can't continue until this is resolved)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.7.2  
URLbugs/tracker/10425
Keywords
ie6 survey
Related Files
Ticket History
8/28/2009
3:51 PM
Resolved perlDreamer
6/3/2009
5:07 PM
Pending DBell
6/3/2009
1:51 PM
Resolved perlDreamer
5/21/2009
7:15 PM
Ticket created DBell
© 2019 Plain Black Corporation | All Rights Reserved