Events Made Easy › Forums › Bug fixed or feature request implemented › single day event becomes two
Tagged: recurrent event
- This topic has 4 replies, 2 voices, and was last updated 13 years, 4 months ago by Franky.
-
AuthorPosts
-
Fri 26 Aug 2011 at 11:47 #43450AnonymousInactive
Franky,
This has been happening for awhile, but every time I noticed it I thought I was mistaken and had just clicked the wrong date… OK, now I’ve tried it multiple times and it’s not just my imagination!
Add a single day event (enter same date in Event start and end), recurrence (any option) – event created as a 2-day event!
Look on the testsite calendar at any of the ‘test…’ events I created yesterday – I entered all of them as single day, but they were all generated as 2-day spans.
The only exception: the ‘test every other week, special event, AFTER fix’ (testing for my other post yesterday)… just like the others, it was initially generated as a 2-day event, but I went back and edited the Event end date – and that fixed it. I know it sounds crazy, but the subsequent edit of that date always fixes it!
FYI: I live just on the periphery of the forecast path of the hurricane, so if you ask a question and I don’t respond immediately – I probably lost power!
Thank you, as always.
Fri 26 Aug 2011 at 13:38 #48415FrankyKeymasterThe two-day thing probably happens because you don’t enter start/end hour for the event. Is that possible?
Edit: and probably for recurrences only, I guess?
Fri 26 Aug 2011 at 17:40 #48416FrankyKeymasterI was able to reproduce the problem and fixed it in trunk. Get thee versions for eme_events.php and eme_recurrence.php (I cleaned up the code as well):
See here for the differences: http://plugins.trac.wordpress.org/changeset/429107
Fri 26 Aug 2011 at 20:15 #48417AnonymousInactiveOK… after reading your first post, I was going to say that I thought creating a 2-day event in response to the absence of an event time was a bit extreme. 🙂
You are correct: it was only on recurrences, and yes – I was never entering the ‘time’… it was all the test data I was playing with in conjunction with documenting examples for my client – so I was not filling in any more than I thought necessary for my purpose!
I have a very long history in the IT world, starting in ’77 (probably before you were born, and definitely before the term ‘IT’ was coined), so there really is no excuse for me entering ‘bad’ test data… I know better! I will console myself by thinking it did result in one bugfix and cleaner code. 🙂
I have tried thy new versions and all is well. Thank you.
Fri 26 Aug 2011 at 23:13 #48418FrankyKeymasterIn ’77 I was long born 🙂
But it was not a empty time issue, but an empty end date issue in fact. Anyway, bug fixed and code cleaned 🙂
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.