|
Ken Bauer made changes - 15/Aug/07 02:43 AM
I think this is a big problem and it happens to 1.5.x, 1.6.x, 1.7.x and 1.8.x (also 1.9 beta)... should probably bump up the priority level...
Raising priority, as this impears proper usage of calendar.
Nicolas Martignoni made changes - 21/Sep/07 08:20 PM
Nicolas Martignoni made changes - 21/Sep/07 09:27 PM
Nicolas Martignoni made changes - 21/Sep/07 09:35 PM
Also adding Martin D to the watch list. Martin do you know if Jon still maintaining calendar? Thanks!
Wen Hao Chuang made changes - 25/Sep/07 02:04 AM
Martin could you please take a look at this issue please? Thanks!
Wen Hao Chuang made changes - 25/Sep/07 07:57 AM
Wen Hao Chuang made changes - 25/Sep/07 07:59 AM
Nicolas Martignoni made changes - 27/Sep/07 12:27 AM
This issue seems to be fixed by Yu, as I just did some testing and in 1.9 beta+ it will pass alone the courseid while the most recent moodle_18_stable still have not fixed this issue yet. Yu could you please confirm this? Thanks!
Wen Hao Chuang made changes - 29/Sep/07 07:12 AM
Wen, I'm seeing the same as you (fixed in 1.9beta+ and NOT fixed in 1.8.x), but can't relate this to a recent commit.
Same as Nicolas, the problem is fixed in 1.9beta+ and NOT fixed in 1.8.x.
Martin or Yu, please can you fix this in 1.8.x ASAP? JOseph
toyomoyo committed 8 files to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 02/Oct/07 02:26 PM
Seems to be partially fixed.
I can still reproduce the following issue: 1) In a course, go to the calendar view. Thanks for fixing this. Hi Brad, you could click on the "Version Control" tab above to see exactly what got committed, and you could use this to generate patch for 1.8.2. Hope this helps.
Nicolas, I agree with you. I did some testing and it IS partially fixed. The problem is that it's not consistent. For example, here is how you can reproduce the still existing problem: I will do some more testing and report back here..
Wen Hao Chuang made changes - 03/Oct/07 08:28 AM
by the way can anyone confirm the
Wen Hao Chuang made changes - 03/Oct/07 08:29 AM
toyomoyo committed 2 files to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 03/Oct/07 12:20 PM
toyomoyo committed 1 file to 'Moodle CVS' - 03/Oct/07 12:21 PM
Wen Hao, I can't confirm that
But the problem seems old and I can't test on older versions.
Nicolas Martignoni made changes - 03/Oct/07 02:58 PM
Nicolas Martignoni made changes - 03/Oct/07 02:58 PM
I can't manage to get group events correctly, neither in 1.8.2 (fresh from CVS) or in 1.9beta+ (fresh from CVS too). Can someone confirm that the bug is still present in this case.
All other issues seems to be gone. Thank you Yu Just upgraded my moodle 1.8.2. Using calendar/view.php file ref:
<?php // $Id: view.php,v 1.77.2.9 2007/10/02 06:26:58 toyomoyo Exp $ With debugging set as : NORMAL: Show errors, warnings and notices When I create a new event, upon event being saved I get 2 error messages:
Joseph I was able to reproduce Joseph's problem. I also found another two bugs for the new fix:
1. If you go into the "calendar" view then click on "Preferences" button on the upper-right corner (see screenshot), the course id won't carry over and therefore, if you "save changes" (even that you didn't change anything), then click on "Continue", then you will be redirected to /calendar/view.php without any parameters carry over. I double checked with the /calendar/preferences.php and noticed that it was not changed for this fix 2. If you navigate back to the Moodle Test Case course, then all of your events should now re-appear (as now the course=3 parameter is back), except the Global event (see the screenshot). Yu could you help fixing these two issues please? Thanks so much!
Wen Hao Chuang made changes - 04/Oct/07 02:49 AM
Wen Hao Chuang made changes - 04/Oct/07 02:50 AM
toyomoyo committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 04/Oct/07 11:00 AM
toyomoyo committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 04/Oct/07 01:12 PM
toyomoyo committed 1 file to 'Moodle CVS' - 04/Oct/07 01:13 PM
Hi Guys,
Fixed in notice and warning, sorry, backported something from HEAD by accident. Wen, 1) Fixed, but it's set in session not visible in URL, however you should return to the same course view after setting preferences. 2) There's a setting (a preference) "Upcoming events look-ahead" that determines how far ahead to look. I noticed in your screenshot the event is in Nov so you probably don't have it set for more than 30 days. Cheers, Yu Yu, good job and thanks for fixing this so quickly, we really appreciate that!
Now that the above issues are fixed. I still notice that the calendar/export.php is untouched and so whenever you click on the "export calendar" button then your most of your events would be gone! Also, when you are on the export.php page, if you click on the Calendar link from the Breadcrumbs, again that redirect does not include the course ID (see screenshot #3 "calendar_export_breadcrumb_wrong_parameter.png" above) and therefore you will lost most of your events in the next page view (displayed by view.php). Thanks again for your efforts on fixing this issue!
Wen Hao Chuang made changes - 05/Oct/07 03:21 AM
toyomoyo committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 05/Oct/07 11:51 AM
toyomoyo committed 1 file to 'Moodle CVS' - 05/Oct/07 11:52 AM
Hi guys,
I got a new error msg here after update all the files changed. The error msg came out when I try to create new event inside calendar's monthly view: Fatal error: Call to undefined function build_navigation() in /moodle/calendar/event.php on line 274 Any idea? Cheers, Hi Yu, there are still some glitches (in 1.8):
1. under calendar/view.php at around line #136 2. under calendar/view.php at around line #165 (//Link to calendar export page), this line should also pass the course id By the way, I talked to Yu and I volunteered to backport all these fixes to 1.5 (currently only tested on 1.5), so far it works although I still need some more testing. I will try to clean them up a little bit and post the backported version (for 1.5, and possibly for 1.6, 1.7 too) here so that people could help testing them. Thanks! Hi Brad, I don't see the code in 1.8, maybe you accidentally used the version from HEAD?
Wen, preference and export use session variable to keep tracker of the course id (for redirects, and headers). So I wasn't sure why course ids need to be passed in explicitly, please explain. Thanks. Cheers, Yu Hi Wen and Yu,
Thank you for your message. Can't connect with CVS this morning. I download the wrong version of event.php file. Everything works fine after upload correct file. Many thanks you guys. What's the V1.7.3 for? Is it for Moodle 1.9? Cheers,
Brad Hong made changes - 08/Oct/07 09:36 PM
Brad Hong made changes - 08/Oct/07 09:38 PM
Wen Hao Chuang made changes - 09/Oct/07 06:01 AM
Wen Hao Chuang made changes - 09/Oct/07 06:01 AM
Just found that Jira would sort attached image files (screenshots) based on the filename so Brad's uploaded images should be #5 and #6 now.
I was able to reproduce the problem Brad reported. I think the switch($action) in event.php does handle case 'new' correctly but not the cases of 'edit' and possibly 'delete', Yu could you please take a look at this please? Another separate issue. I also created screenshot #3 and #1 to demonstrate it probably still need course ID when you click on the "Export calendar" button (export.php) . As you could see if you login as an admin and login to one of the courses, then click on the "Export calendar" button, as the course ID was not carried over, so on your right hand view ("monthly view") many events will disappear. Same thing with "Preferences" button. Please let me know if you have questions. Thanks!
Nicolas Martignoni made changes - 10/Oct/07 03:14 PM
The "group" issue for calendar display is dealed
Nicolas Martignoni made changes - 10/Oct/07 03:17 PM
Group/calendar issues
toyomoyo committed 3 files to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 11/Oct/07 01:22 PM
toyomoyo committed 2 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 11/Oct/07 01:23 PM
toyomoyo committed 2 files to 'Moodle CVS' - 11/Oct/07 01:24 PM
Hi guys,
Fixed the events not showing up problem in export, and when editing existing event. However, I was unable to reproduce the problem in preferences. Wen maybe you can help me there, can you tell me exactly how to reproduce the exact problem in preferences? Cheers, Yu
Martin Dougiamas made changes - 11/Oct/07 02:41 PM
Hi Yu,
I can't reproduce the preferences problem neither on 1.8.2+ or 1.9beta2. Even if the courseid isn't present in the URL, the session seems to take care of it and keeps the correct course id. Suggesting closing of this bug, since the remaining problems (group issues with calendar) should be dealed in
Martin Dougiamas made changes - 11/Oct/07 03:23 PM
Yu, I think you fixed the export one. Good job!
However, I still can easily reproduce the preferences bug. Here are steps to reproduce: Login as admin It's not a major issue, but it could get teachers confused if they don't know they should use the "Upcoming Events" pull down menu and set it back to one course only. I have identified where need to be fixed. In preferences.php line#61, the $navigation should probably be handled similar to how $nav is handled in both view.php (line#70) or export.php (line#25), what do you think? This should be able to fix this issue. Hope this helps.
Wen Hao Chuang made changes - 12/Oct/07 08:58 AM
Wen Hao Chuang made changes - 12/Oct/07 08:58 AM
toyomoyo committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 15/Oct/07 12:45 PM
toyomoyo committed 4 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 15/Oct/07 12:46 PM
toyomoyo committed 3 files to 'Moodle CVS' - 15/Oct/07 12:46 PM
Yu Zhang made changes - 15/Oct/07 12:48 PM
Yu, thanks again for everything! By the way I hope that you don't mind me reopen this ticket as this is a critical bug across moodle 1.5.x to 1.9, and I thought it would be a good idea if we could also get it fixed (back port the fix) to 1.5, 1.6, and 1.7. What do you think?
I have back ported the fixes to moodle 1.5.x and I could do the same thing with 1.6.x and 1.7.x too. Attached please find the fix for 1.5. I tested it throughly but it would be good if someone could help testing it before I commit it to the MOODLE_15_STABLE branch. Thanks!
Wen Hao Chuang made changes - 16/Oct/07 07:34 AM
Wen Hao Chuang made changes - 16/Oct/07 08:02 AM
Hello,
Is there any fix available for 1.8.2? Thanks. Hi Teresa, the fix for 1.8.2 is already committed into MOODLE_18_STABLE. You just need to upgrade your 1.8.2 installation to the latest 1.8.x codes (through moodle cvs or download.moodle.org) and you will be able to get this fix. If you want to manually fix it you could also click on the "Version Control" tab in this ticket to see how to patch your current code. Hope this helps.
whchuang committed 9 files to 'Moodle CVS' on branch 'MOODLE_15_STABLE' - 26/Oct/07 08:06 AM
There is still an error in the 1.8 files:
On line the 249 of event.php an HTML representation of the "&" character is used. This should be changed to a literal value, i.e. change & to & In fact, the HTML-encoded ampersand is the only "correct" one on that line. XHTML demands that & be encoded as & even in URLs.
http://www.w3.org/TR/xhtml1/#C_12 So the other ones on that line need changing. Hi Chris,
That line of code never render's to (X)HTML, it is used in a redirect.
Yu Zhang made changes - 23/Nov/07 02:15 PM
Martin Dougiamas made changes - 12/Jan/08 05:40 PM
Martin Dougiamas made changes - 12/Jan/08 05:42 PM
Wen,
Can we close this now? Nicolas, if it is ok with you let's lower the priority on this one but still keep it open. The thing is, this bug got fixed in 1.8, 1.9, and 1.5 (I backported it), but I haven't got a chance to backport the fix to 1.6 and 1.7 yet so people who are using moodle 1.6 and 1.7 might still find calendar events got disappeared for no reason... Once I'm less busy I will help backporting the fix to 1.6 and 1.7 (or if there is any volunteer that would be great too). thanks!
OK, no problem. Thanks for your work !
Petr Skoda made changes - 19/Feb/08 10:16 PM
Petr Skoda made changes - 19/Feb/08 10:16 PM
Martin Dougiamas made changes - 04/Mar/08 01:49 PM
Martin Dougiamas made changes - 04/Mar/08 01:49 PM
Petr Skoda made changes - 06/Jul/08 12:58 AM
Martin Dougiamas made changes - 16/Oct/08 01:08 PM
Martin Dougiamas made changes - 16/Oct/08 01:09 PM
Martin Dougiamas made changes - 28/Jan/09 06:11 PM
Don't you think that :
Version 1.8.2 should appear in affect version(s) list ? Versions 1.8.4 and 1.9 should appear in Fix version(s) list ? the initial title or this issue should ne restored ? It would be easier to find how to solve this issue when we use version 1.8.2.
Martin Dougiamas made changes - 28/Jan/09 10:42 PM
Martin Dougiamas made changes - 28/Jan/09 10:42 PM
Thank you Martin for you fast reaction to my comment.
Why did you not add 1.8.2 in affect versions list and why did you remove versions 1.6.9 and 1.7.8 from fix versions list ? I forgot to explain that, in my opinion, "(1.6-1.7)" should be removed from title now since the bug is fixed.
Frédéric - From what I can tell looking at the long history of this issue in the tracker it was originally fixed for Moodle 1.8 and onward (i.e. in HEAD). Some continued tweaking was done after Moodle 1.9 was released and those were applied. Wen had wanted to backport the fixes to Moodle 1.5, 1.6, and 1.7; however, I suspect that after some work on Moodle 1.5 version he became busy and simply was unable to patch the fixes for Moodle 1.6 and 1.7. I suspect Martin came along and wanted to re-close the issue since it is fixed for Moodle 1.8 onward and basically noted that it will not be fixed for Moodle 1.6 or Moodle 1.7. If folks are having difficulty with this issue they should upgrade to Moodle 1.8. There is no need to worry (IMHO) about the reference to 1.6 or 1.7 in the title. That was what the person filing the issue had wanted but it simply is not what happened. Regardless, it is resolved as fixed so I think we can leave things as it is. Let me know if you have any other questions. Peace - Anthony
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Affects 1.8.2 as well