Archive for June, 2008

Jun 30 2008

Moodle 1.9: Categories and formulas being lost in gradebook

There’s a bug in Moodle 1.9 dealing with “restoring an existing course in 1.9.1 to a new course in 1.9.1 on same server results in categories and formulas being lost in gradebook”.

Sounds nasty. Tracker report here:

http://tracker.moodle.org/browse/MDL-15160

I haven’t verified it myself yet, but it’s officially on the list.

One response so far

Jun 20 2008

Moodle 1.9: Feedback Slasher Bug

Yep, another problem with stripslashes, this while editing questions in the Feedback module for Moodle 1.9

To recreate the problem:

1. Create a Feedback.

2. Add a question with a quote or apostrophe in it.

3. Save the question.

4. Edit the question. The backslash should appear.

5. Save the question. The backslash is saved to the database.

They made some changes to it to separate out the HTML from the PHP code, and in doing so removed the stripslashes_safe function that was keeping the database escape slashes out of the questions.

Tracker report and patch here:

http://tracker.moodle.org/browse/MDL-15331

One response so far

Jun 20 2008

Moodle 1.9: Calendar fails to strip slashes

Event names and body text in Calendar are not properly escaped with stripslashes. This causes slashes to appear in front of apostrophes when you edit, save and then re-edit an event that occurs over multiple dates. This bug has existed since Moodle 1.7. I’ve updated the tracker report, and attached a patch to it.

http://tracker.moodle.org/browse/MDL-10633

My initial diagnosis of the problem was wrong; I was coming off a problem with stripslashes_recursive elsewhere in Moodle and leapt to conclusions. I also didn’t read the code quite right; the bit I ‘fixed’ was actually for logging, and it was a happy accident that it happened to fix the problem in Moodle 1.8.

With Moodle 1.9 I think I’ve nailed the problem; now it’s just a question of whether we should use stripslashes or stripslashes_safe in this instance (my patches use the former, but after reading the docs for the later, stripslashes_safe is probably the way to go).

 

 

One response so far

Jun 18 2008

Moodle 1.9: Scheduler

The Scheduler module had a bug under Moodle 1.9 that prevented teachers from scheduling groups to a slot, and students from signing up their group for a slot. The latest version of Scheduler — Scheduler v11 — fixes this problem.

http://www.ethnoinformatique.fr/course/view.php?id=122〈=en_utf8

No responses yet

Jun 18 2008

Moodle 1.9: Quickmail and Groups

Quickmail has a problem with groups under Moodle 1.9, stemming from its use of old private functions that changed in the new version. It needs to be updated to use the new public Moodle 1.9 group function. I’ve posted a potential patch to this ticket within Moodle Tracker:

http://tracker.moodle.org/browse/CONTRIB-346

No responses yet

Jun 18 2008

Back to the Moodle Grind

The summer is upon us, and that means its time for the big Moodle 1.8 to Moodle 1.9 upgrade. And in turn, that means I need to start blogging here again to keep track of what I’ve found. 

Right now I’m concentrating on verifying that our contributed modules/blocks work properly, specifically:

After that, I’ll be beating up the gradebook to see what challenges/opportunities lurk there, and running through the Moodle Evaluation Script that we developed at the Moodle Hack/DocFest back in January. I’ll also be running through all of my outstanding bugs from Moodle 1.8 to see which ones have been fixed, and to rally the troops to fix them.
Yeah, it’s going to be a busy summer.

No responses yet