|
Luke has a patch that I like, and agree with. The bit that I am not 100% familiar with is the change to $backup_version in backup/version.php – I am not familiar with how that is managed.
The patch has my signoff except for that detail. If Eloy or someone else knowledgeable in backup versioning nods... Added Eloy (who I'd like to review the patch) and Luke (who's coded it in the first place!)
Well, patch looks really outdated now (old upgrade scripts and so on). Some questions to understand better what's wrong:
1) When a calendar event is saved with n repeats, n records are created in the event table all them sharing the repeatid value (pointing to the first event of the group). That should be the correct behaviour, yep? 2) The race condition happens when inserting new event "groups" yep? If both answers are yes, then I think that: 1) The "calendar/event.php" patch looks perfect, because it enforces 1) perfectly. Any comment? Good point (4) that if the race condition has hit, the data is probably already messed up, and not fixable. +1 for applying the core of the patch.
Done, from 16_STABLE to HEAD. Fixed.
Thanks all! Ciao |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
adding martinl to cc list
From Luke Hudson (lingo at paradise.net.nz) Friday, 28 July 2006, 05:36 AM:
The attached patch solves this problem using the following method:
When a discussion is moved to a new forum, a skeleton discussion is left behind with the same title, but with (Moved) appended to it. The discussion will contain only one post, with the text:
This discussion has been moved to here, in the forum (new location)
The user can click either the 'here' or the name of the new forum to go the the relevant places.
From Luke Hudson (lingo at paradise.net.nz) Friday, 28 July 2006, 05:37 AM:
Oh, bother. I've put this in the wrong place
Please excuse me, this attachemnt and message refer to MDL-4874