Closed (fixed)
Project:
Event
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2006 at 20:18 UTC
Updated:
3 Apr 2007 at 13:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
killes@www.drop.org commentedWhy cant you use the upcoming events hook to unset the events you dont want to display? I don't like this patch much as it introduces a new query.
Comment #2
David Lesieur commentedYes, I could use the hook, but isn't showing finished events in this block clearly a bug? Also, the current logic causes a current event not to be shown if it has started more than 2 hours before the current time, which IMHO is another bug.
Sure, the two queries could be combined, I'll do this.
Comment #3
David Lesieur commentedComment #4
TSE commentedthis sounds great, exacltly solving the problems i had. but one (silly) question.
how do i apply your patch, i mean is there a program which handles this or do i have to do it by hand ?
Comment #5
David Lesieur commented@TSE: See how to apply patches.
Comment #6
David Lesieur commentedImproved patch, using a single query.
Comment #7
David Lesieur commentedComment #8
TSE commentedhi david
works perfect, many thanx for your great work
TSE
Comment #9
whatistocome commentedi too can verify that this worked as intended.
- Jason
Comment #10
David Lesieur commented@killes: I think #6 takes care of your initial concerns, others have tested the patch, and it still applies. Shall this be committed? Thanks.
Comment #11
TSE commentedplease commit it !!! dont wanna apply this patch every time i update the event.module ;)
thX in advance
Comment #12
killes@www.drop.org commentedthe problem with this patch is that as soon as an event starts it drops off the list, if it does not have a specific end date. We use end date == start date for all day events. Thes would vanish as soon as they start.
Comment #13
killes@www.drop.org commentedHow about this patch? It will show events that don't have a specific end date for two hours after start.
Comment #14
David Lesieur commentedGood point, good patch! :-)
Comment #15
Chris_Allen commentedI tried to apply this patch (#13 event.patch_2.txt) but got this error:
patching file `event.module'
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 1746.
1 out of 1 hunk FAILED -- saving rejects to event.module.rej
I have already applied event.module_45.patch. Running Windows XP with apache triad and Drupal 4.7
I've attached the .rej file - if that helps.
Comment #16
David Lesieur commentedChris: To apply the patch, make sure to start from a fresh event.module.
Comment #17
gerhard killesreiter commentedDavid, did you test the patch?
Comment #18
David Lesieur commentedOops, the patch applied, but had a typo in a query. Now fixed and properly tested. ;-)
Comment #19
killes@www.drop.org commentedthe patch was already in 4.7 and is not in HEAD too. will be in 5 soon.
Comment #20
(not verified) commented