My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1791: removeEventSource after addEventSource but before fetchSource finishes
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jun 2014


Sign in to add a comment
 
Reported by glex....@gmail.com, Apr 15, 2013
if I call addEventSource(source), and then removeEventSource(source) before it fetchSource finishes, the callbacks do not seem to be removed, which leads to nasty side-effects:

There is a demo here: http://plnkr.co/edit/NLMIQt?p=preview
If you click "Toggle an event source" button fast enough / many times, you will at some point see 2 the event source reporting events to the view twice.

Apr 15, 2013
#1 glex....@gmail.com
Sorry for the typos above. There doesn't appear to be a way to edit description in this tracker.
Apr 15, 2013
#2 glex....@gmail.com
In the demo above I log the all add/removeEventSource calls via console.log
Aug 24, 2013
Project Member #3 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Reproducing
Labels: -Type-Defect Type-Bug
Jun 11, 2014
Project Member #4 adamrs...@gmail.com
I'm sorry it has taken someone forever to respond to this ticket. Thanks for posting a recreation, however it is really hard to diagnose the problem because there are so many other things going on in your example.. mainly the fact that you are using an angular-ui version of fullcalendar rather than the original library. Also that you have tons of other markup and CSS. Can you reduce your test case to just the non-angular bare essentials? Thanks.
Jun 11, 2014
Project Member #5 adamrs...@gmail.com
I'm closing this issue, but please post a new issue (w/ a reduced test case) if this is still a problem
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting