| Issue 554: | gotoDate+changeView doesn't fetch events correctly | |
| 3 people starred this issue and may be notified of changes. | Back to list |
I have a month-based calendar with lazyFetching = true (default) and loaded via AJAX/JSON. This works perfectly, if transferring to a "day" view with an operation like this:
$('#calendar').fullCalendar( "gotoDate", date );
$('#calendar').fullCalendar( "changeView", "agendaDay" );
It works PERFECTLY as long as I chose a day within the current month relative to "today." If today is July 13, 2010 and I select June 30, 2010 the cache does not work.
If I change to lazyFetching = false (works perfectly but would love to use cache).
This is also true if I select a date within the scope of the "month view" but not in the current month and then switch using the action buttons to the day view. The data is then gone... also; then if switching back to month view during the action/header buttons the "next" or "previous" month is displayed and then the cache is really off.
---------------------------------------------------------
Hard to attach example; basic usage is:
---------------------------------------------------------
summary: Load calendar in month view with stock data (July for example) making sure events are on June 30th. Make sure lazyFetching = true. Switch to Day view with JS to June 30th (see below) and no events will show. For further example; now switch to month view using the action/header buttons and the invalidated cache data continues because it will now be in June.
Example of code used to switch date (*** maybe this is my usage error ***)
$('#calendar').fullCalendar( "gotoDate", date );
$('#calendar').fullCalendar( "changeView", "agendaDay" );
---------------------------------------------------------
PS: amazing work on this project!!!
Sep 28, 2010
my patch for issue 586 will maybe fix this one too...
Oct 16, 2010
this has been fixed in v1.4.8 (just released), thanks for the reports
Status:
Fixed
Aug 13, 2013
(No comment was entered for this change.)
Status:
Implemented
Aug 13, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Status: Accepted
Labels: Type-Defect