My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 417: refetchEvents bug, when going from day to month
6 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by mb.s...@live.se, Mar 24, 2010
First thanks for a really good calendar. 
Why does refetchEvents only refetch events for the day in the agendaDay
view, because when I change the view to week or month the rest of the
events are missing. It looks like it clears all cached data and only use
the fetched events for the day. 
Wouldn't it be better to always refetch events for the entire month, or at
least that it refetches the week or month events when changing the view
after a refetchEvent call on the agendaDay (for some reason FullCalendar
thinks it already has the event, but they was lost during the refetch)?

Using FullCalendar 1.4.1

I understand that you have created a lazyFetching in 1.4.5, but I like to
continue to use the cache. What I would like to do with refetch is
something like $('#calendar').fullCalendar('refetchEvents', viewName); so
it fetches events for the complete month to make it work when changing
views after using the refetch. 

Thanks Mikael
Mar 30, 2010
Project Member #1 adamrs...@gmail.com
it only fetches events one day at a time when in the day views. i will make more 
settings to adjust this behavior if more people request it...
Labels: -Type-Defect Type-Enhancement
Mar 30, 2010
#2 mb.s...@live.se
Yes, but when i go to the week view after refetching at the day view, only events for
the day i came from is visible. So what i would like the calendar to do, is refetch
events when going to a larger view (week, month) from day view after refetch.
Mar 31, 2010
Project Member #3 adamrs...@gmail.com
it should do this automatically. if what you describe is true, there is a bug. can you 
post a link to working version of your calendar that demonstrates the bug? or provide 
a zip file with a runnable html file. thanks a lot.
Apr 26, 2010
Project Member #4 adamrs...@gmail.com
please respond if you can reproduce this for me. otherwise, closing the issue
Status: Done
Aug 1, 2010
#5 couillar...@gmail.com
Hi Adam,
Thanks for this usefull calendar.

I've got the same issue using fullcalendar 1.4.7.
When i call 'refetchEvents' in the agendaDay view, month view contains only day events.

My example is available here : http://couillardcharles.free.fr/fullcalendar.html

The scenario:
- click on day button
- click on the event (call refreshEvents)
- click on month button

Thanks,
Charles


Aug 25, 2010
Project Member #6 adamrs...@gmail.com
(No comment was entered for this change.)
Status: New
Labels: -Type-Enhancement Type-Defect
Aug 26, 2010
Project Member #7 adamrs...@gmail.com
hey Charles,
thank you very much for the demo. i was able to recreate it and understand it. didnt think fullcalendar still would have had a bug like this, but what do ya know. will get it fixed
adam
Summary: refetchEvents bug, when going from day to month
Status: Accepted
Oct 7, 2010
Project Member #8 adamrs...@gmail.com
 Issue 604  has been merged into this issue.
Oct 16, 2010
Project Member #9 adamrs...@gmail.com
this has been fixed in 1.4.8 (just released). thanks for the reports!
Status: Fixed
Oct 17, 2010
#10 couillar...@gmail.com
Thanks for the fix Adam, works perfectly.

Charles
Dec 28, 2010
#11 tss_yaod...@hotmail.com
Unfortunately, version 1.4.8, there is no max events in the processing .1.4.3 how to deal with this problem?
Aug 13, 2013
Project Member #12 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Implemented
Aug 13, 2013
Project Member #13 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting