| Issue 1260: | Month name does not update correctly on months that have no Events | |
| 3 people starred this issue and may be notified of changes. | Back to list |
I am using the FullCalendar on a php page where the events are generated from a PHP array via json encode. The events are shown all correctly positioned and everything but when traversing through the months I noticed when a month has no Event the month name is not updated yet the calendar view days is update correctly. I noticed this problem happens ALWAYS when the previous button is clicked and sometimes when the next button is clicked. I did a quick view on the code in fullcalendar.js and found out where the problem is but not why. Error problem in file fullcalendar.js: -Basically the call starts in the function 'renderView(inc) : 368' at the line 'updateEvents(forceEventRender);' which happens to be exactly above the line that updates the header html (header.updateTitle(currentView.title);). -updateEvents calls the function [refetchEvents(); @511] which calls function [fetchEvents(start,end); @908] and at this function the for loop at line 916 fails and does not pass through. -My own solution to my problem was just move the updateEvents() command a few lines below till all the visual updates is done, but I can forsee this as causing even more bugs in case the first months the user views have no events. hope Id helped and thanks alot for the great project.
Aug 14, 2013
Project Member
#1
adamrs...@gmail.com
Status:
ReproTemp
Aug 25, 2013
This message is being bulk-sent to a number of issues, both [very] old and new.
I have been working on taming this issue tracker, which has gotten out of control after months of neglect. You are receiving this message because I could not successfully reproduce the bug you were reporting with a reasonable amount of effort. I have written some new bug-report guidelines to be used by all bug reports going forward:
http://arshaw.com/fullcalendar/wiki/Report-a-Bug/
Its salient point is that all bug reports should have an isolated demonstration, viewable online with a tool like JSFiddle.
If the bug you originally reported is still important to you, could you please first try the latest version of FullCalendar and see if it is fixed? If not, could you please file a NEW bug report that follows the new guidelines? This issue will not be monitored for further comments.
I'm sorry I have taken so long to respond to many of your request, and I'm sorry if this new procedure causes extra work for you. Going forward, the issue tracker will be much more of a well-oiled machine.
Again, if you must, PLEASE SUBMIT A *NEW* BUG REPORT (following the new guidelines) INSTEAD OF COMMENTING ON THIS ONE. Further comments on this report will be ignored. Thanks.
Status:
Invalid
Labels: -Type-Defect Type-Bug |
|
| ► Sign in to add a comment |