Moodle

Calendar events disappear twice a month, sometimes more often

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Won't Fix
  • Affects Version/s: 1.5.3, 1.5.4
  • Fix Version/s: None
  • Component/s: Calendar
  • Labels:
    None
  • Environment:
    Moodle 1.5.3+ (2005060230) possibly onward
    Calendar version 2004081200 (possibly onward)
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_15_STABLE

Description

We are having a recurring problem where every few days all the events in the two higest groups (global and course) are rendered "invisible". Seems that all of a sudden they are all "invisible". We have to go into the database and run a SQL statement and mark them all is "visable", but then a few days later, sometimes in the same day, it happens again. It seems to happen about twice a month at least, once at the beginning of the month and once in the middle of the month, but the day is never the same.

I do remember that at one time we cleared out some fields in another table (mdl_course_sections). The fields were the "sequence" and "summary" fields. This was done when we needed to delete all content for the weeks for the year after we advanced the start dates for all the weeks. (We also added an extra week.) I wonder if that had anything to do with it. This is when we lost some parts of the site's main menu and possibly some main site content. At that time we basically went back to a back up we made and re-inserted the "sequence" numbers listed for the main site "course" and that fixed a whole bunch of stuff.

Any ideas. I've seen others report this problem, but I've seen no solution. See links below.

http://moodle.org/mod/forum/search.php?search=visible+events&id=5&perpage=10&page=1
Calendar -> Single user events disapeared -> Re: Single user events disapeared
posted by Mikael Ekblom

Calendar -> All events suddenly disappeared
posted by Samuli Karevaara

http://moodle.org/mod/forum/search.php?search=visible+events&id=5&perpage=10&page=3
Calendar -> Events not shown on site calendar
posted by Gustav W Delius

http://moodle.org/mod/forum/search.php?search=events+disappear&id=5
Calendar -> All manual added events disappeared -> Re: All manual added events disappeared
posted by Zachary B

checked for Moodle backups - not enabled
checked for MySQL backups - none set/enabled
checked for Windows Scheduled Tasks - none
went through system events list, found nothing

Thank you,
Bill Gonzalez

Issue Links

Activity

Hide
Wen Hao Chuang added a comment -

I think this is a issue that Martin should be aware of. This is a major problem on our production site right now. I'm adding Martin to the watch list. Thanks!

Show
Wen Hao Chuang added a comment - I think this is a issue that Martin should be aware of. This is a major problem on our production site right now. I'm adding Martin to the watch list. Thanks!
Hide
Wen Hao Chuang added a comment -

This ticket seems to be related to MDL-10353

Show
Wen Hao Chuang added a comment - This ticket seems to be related to MDL-10353
Hide
Wen Hao Chuang added a comment -

Does anyone who are really familiar with calendar code remember where in the code might "reset" the visible field in the MDL_EVENT table from 1 to 0? We have some manually created "course event" that got disappeared but it's really difficult to reproduce. Many thanks!

Show
Wen Hao Chuang added a comment - Does anyone who are really familiar with calendar code remember where in the code might "reset" the visible field in the MDL_EVENT table from 1 to 0? We have some manually created "course event" that got disappeared but it's really difficult to reproduce. Many thanks!
Hide
Yu Zhang added a comment -

Hi Wen, sorry I have no idea. I did not find this field in 1.6 and above, so the invisible problem could not possibly affect 1.6 above. I am removing these. Cheers, Yu.

Show
Yu Zhang added a comment - Hi Wen, sorry I have no idea. I did not find this field in 1.6 and above, so the invisible problem could not possibly affect 1.6 above. I am removing these. Cheers, Yu.
Hide
Petr Škoda (skodak) added a comment -

1.5x is not maintained anymore, closing as will not fix - sorry

Show
Petr Škoda (skodak) added a comment - 1.5x is not maintained anymore, closing as will not fix - sorry
Hide
Wen Hao Chuang added a comment -

I just thought that if 1.5.x is no longer being maintained with the moodle core team (and the community), then maybe it should be announced somewhere (or included in in the README.TXT in the MOODLE_15_STABLE branch or downloadable zip file, or something)... instead of just abandon it quietly... what do people think? Just my 2 cents...

Show
Wen Hao Chuang added a comment - I just thought that if 1.5.x is no longer being maintained with the moodle core team (and the community), then maybe it should be announced somewhere (or included in in the README.TXT in the MOODLE_15_STABLE branch or downloadable zip file, or something)... instead of just abandon it quietly... what do people think? Just my 2 cents...
Hide
Petr Škoda (skodak) added a comment - - edited

Anybody may step up and start fixing bugs in any branch he/she wants.

Unfortunately there are not enough people to maintain 1.5.x, 1.6.x, 1.7.x, 1.8.x and finish 1.9.0 while working on 2.0.

  • 1.5.x is not on download page for some time and it is not receiving any fixes at all, anybody who wants to use it should watch 1.6.x for critical bugs and backport it himself/herself
  • 1.6.x is getting only serious security fixes and patches from volunteers
  • 1.7.x was not a good release, anybody using it should consider upgrading to 1.8.x asap
  • 1.8.x current stable, has performance problems
  • 1.9dev - finally should be a version with "long term support"

Most fulltime developers are now working on 1.9 only. Martin is doing all he can to get more developers, but it is very hard to find skilled ppl.

Show
Petr Škoda (skodak) added a comment - - edited Anybody may step up and start fixing bugs in any branch he/she wants. Unfortunately there are not enough people to maintain 1.5.x, 1.6.x, 1.7.x, 1.8.x and finish 1.9.0 while working on 2.0.
  • 1.5.x is not on download page for some time and it is not receiving any fixes at all, anybody who wants to use it should watch 1.6.x for critical bugs and backport it himself/herself
  • 1.6.x is getting only serious security fixes and patches from volunteers
  • 1.7.x was not a good release, anybody using it should consider upgrading to 1.8.x asap
  • 1.8.x current stable, has performance problems
  • 1.9dev - finally should be a version with "long term support"
Most fulltime developers are now working on 1.9 only. Martin is doing all he can to get more developers, but it is very hard to find skilled ppl.
Hide
Martin Dougiamas added a comment -

As Petr said, it's not on the download page: http://download.moodle.org/

I've added a note to the README.txt but I doubt anyone will read that...

Show
Martin Dougiamas added a comment - As Petr said, it's not on the download page: http://download.moodle.org/ I've added a note to the README.txt but I doubt anyone will read that...

People

Vote (1)
Watch (5)

Dates

  • Created:
    Updated:
    Resolved: