Issue Details (XML | Word | Printable)

Key: MDL-7057
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: moodle.com
Reporter: Dan Poltawski
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Disappearing Course with IE & AJAX Format

Created: 17/Oct/06 07:51 PM   Updated: 03/Nov/09 03:23 PM
Component/s: Course
Affects Version/s: 1.7
Fix Version/s: 1.7, 1.8, 1.9.6

File Attachments: None
Image Attachments:

1. screenshot.png
(38 kB)
Issue Links:
Duplicate
 
Relates

Participants: Dan Poltawski, moodle.com, Rossiani Wijaya and Vy-Shane Sin Fat
Security Level: None
QA Assignee: Rossiani Wijaya
Resolved date: 24/Oct/06
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
Finally managed to get a reproducable bug with IE:
  • Create a new course with weekly outline
  • turn editting on, and use the ajax drag and drop to move the new forum from the first section to the second section
  • turn editting off
  • turn edditing on

You now can't see any parts of the page.



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Poltawski added a comment - 17/Oct/06 08:00 PM
Screenshot of what happens and the error which IE birngs up

Dan Poltawski added a comment - 21/Oct/06 08:46 PM
i've tried this again today with latest cvs. Problem still exists

Vy-Shane Sin Fat added a comment - 23/Oct/06 09:50 AM
Can you paste the offending line as well as a few lines before and after from the html source code? (View source from browser).

Dan Poltawski added a comment - 23/Oct/06 04:33 PM
I don't know how IE generates its line numbers, but the line with *** before it is actually line 138. However I suspect its the getElementById line:

<img alt="Help, Add a resource" src="http://beta.moodle.cleo.net.uk/pix/help.gif" /></a></span><select name="jump" onchange="self.location=document.ressection0.jump.options[document.ressection0.jump.selectedIndex].value;">
<option value="javascript:void(0)">Add a resource...</option>
<option value="http://beta.moodle.cleo.net.uk/course/mod.php?id=11&section=0&sesskey=DXqGF0AFWv&add=resource&type=text">Compose a text page</option>
<option value="http://beta.moodle.cleo.net.uk/course/mod.php?id=11&section=0&sesskey=DXqGF0AFWv&add=resource&type=html">Compose a web page</option>

      • <option value="http://beta.moodle.cleo.net.uk/course/mod.php?id=11&section=0&sesskey=DXqGF0AFWv&add=resource&type=file">Link to a file or web site</option>
        <option value="http://beta.moodle.cleo.net.uk/course/mod.php?id=11&section=0&sesskey=DXqGF0AFWv&add=resource&type=directory">Display a directory</option>
        <option value="http://beta.moodle.cleo.net.uk/course/mod.php?id=11&section=0&sesskey=DXqGF0AFWv&add=resource&type=ims">Add an IMS Content Package</option>
        <option value="http://beta.moodle.cleo.net.uk/course/mod.php?id=11&section=0&sesskey=DXqGF0AFWv&add=label">Insert a label</option>
        </select><input type="hidden" name="sesskey" value="DXqGF0AFWv" /><noscript id="noscriptressection0" style="display: inline;"><input type="submit" value="Go" /></noscript><script type="text/javascript">
        <!--
        document.getElementById("noscriptressection0").style.display = "none";
        -->
        </script></form

Vy-Shane Sin Fat added a comment - 24/Oct/06 11:28 AM
I've fixed the javascript error. However, I doubt that this will fix the AJAX issues. It does not seem to be related. But the error should go away in IE now. Can you help me confirm this?

Dan Poltawski added a comment - 24/Oct/06 05:58 PM
I now dont seem to get the AJAX course editting and get a new JS error:

'main.portal is null or not an object' (points to the third lien down here)

<script type='text/javascript' src='http://beta.moodle.cleo.net.uk/lib/ajax/ajaxcourse.js'></script>
<script language='javascript'>
main.portal.id = 11;
main.portal.blocks = new Array(['l',
'inst131',
'0'],['l',
'inst111',
'0'],['r',
'inst91',
'0'],['r',
'inst121',
'0'],['r',
'inst141',
'0'])


Dan Poltawski added a comment - 24/Oct/06 05:59 PM
(thats the tracker messing with the top line)

Dan Poltawski added a comment - 24/Oct/06 06:02 PM
Hmm - I can't seem to get ajax editting with firefox either?

Vy-Shane Sin Fat added a comment - 24/Oct/06 06:06 PM
I've just checked in some fixes (few minutes ago). There are still some issues I'm working on, but the AJAX should show up now in Firefox.

Rossiani Wijaya added a comment - 03/Nov/09 03:23 PM
The issues has been resolved on 1.9.6 version.

Please download the latest version.

Thank you

Closing