i have two sources being displayed, however, when one source has no records for a particular day (in day view), but items in the other, the entire calendar stalls when I go to that day.
Command-. 'fixes' it, but was wondering if there is a workaround.
stall when no items in one of two sources
4 posts
• Page 1 of 1
Posts: 60
Joined: Wed Jun 23, 2010 9:21 pm |
|
Hi Eugene,
I think might be an issue with certain variables not getting initialized before the loops run. We've corrected this in our current build, but I think you might have the one before. In the script: Insert iCal File Into Calendar { UseExistingData } inder the comments #Read all sources to get started Make sure the variables: $sc_CountWritten[$sc_SourceNo] ; $sc_CountEvents[$sc_SourceNo] and $sc_count[$sc_sourceNo] are all getting initialized as per the attached image under the comments #source is active and #source is inactive. If they're not, it can cause certain loops to get stuck. Let me know if I'm close on that one as well, -Jason |
|
Posts: 60
Joined: Wed Jun 23, 2010 9:21 pm |
Hi Jason,
Thanks much, that was it. In both #source is active and #source is inactive forks, the $sc_CountWritten var wasn't being set to 0. I'm pretty sure I didn't touch that part of the script, is this a change from previous builds? Nevertheless, thanks again. |
Hi Eugene,
It is a change. This was corrected in Calendar 2.2. Thanks! |
|
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests