|
[
Permalink
| « Hide
]
Mathieu Petit-Clair added a comment - 09/Apr/08 05:35 PM
About rss stuff, I answered my own question. I'll modify the function as it should, it's actually kinda obvious.. (sorry about the noise)
Please have a look at the file...
stuff like this should not go into 1.8 imo
That's where the original bug was reported and that's what I was trying to fix (
To be 100% correct we should also bump up the requires version in modules. I like the idea of those all $CFG->slahsarguments conditions centralised in the new function. And 100% agree wit Petr about 1.9 being the proper target. Not sure if we need requires bumps (AFAIK we bumped before release, isn't it?). Easy to check, anyway.
Ciao Here's a version of the patch against MOODLE_19_STABLE. I did this carefully, but I can't possibly test all cases, so .. this needs some more eyes.
Mat,
We are still having problems with Link to File Resource. Log snippet below: 192.168.0.1 - - [22/May/2008:16:44:19 +0900] "GET /mod/resource/view.php?id=3 HTTP/1.1" 303 232 "http://example.com/course/view.php?id=2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" Here's a new version of the patch, for 1.9. This one corrects (afaics) all calls using $CFG->slasharguments, adding new "types" to get_file_url where necessary.
I did go over it a few times, but it needs more reviews. Petr, Eloy? I had a read through the patch without spotting anything out of place ... it looks OK to me. I think we should put it in and test it wider today before the release tomorrow.
Reminder: update $versions in modules where necessary
I'm not sure if this bug caused this, but I updated this morning and got the new htmlarea.php and coursefiles.php and I now see no directory structure in the insert image section of the editor.
[Thu Jul 10 09:24:27 2008] [error] [client 137.x.x.x] PHP Parse error: syntax error, unexpected T_VARIABLE in C:\\Apache2\\htdocs\\moodle\\lib\\editor\\htmlarea I apologize if this isn't the correct bug to report this. Thanks. Something is wrong in moodle/files/index.php now as well, when I try to download a file from the course files area I now get:
You don't have permission to access /moodlehttp://moodle/file.php/286/backupdata/backup-ejhs-cb1-20080519-2322.zip on this server. Thanks for the report, Ryan. I've just sent in fixes for these.
Mathieu,
I just tested the updated files and they seem to work perfectly. Thanks for fixing it! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||