[Owncloud] Calendar shows loading forever?
peter at chubb.wattle.id.au
peter at chubb.wattle.id.au
Fri Oct 26 08:59:24 UTC 2012
>>>>> "peter" == peter <peter at chubb.wattle.id.au> writes:
>>>>> "peter" == peter <peter at chubb.wattle.id.au> writes:
peter> Hi folks, With 4.5.1, visitin the Calendar web-app, the
peter> spinning wheel spins forever in google-chrome, mozilla and
peter> safari. And no events are shown.
I deleted all the events in one of my calendars, and reentered them
manually. Now all works again. Except shared calendars:
If I share a calendar with someone read-only, then that person selects
the calendar icon in the top RH corner, we get a backtrace:
( ! ) Notice: Undefined variable: shared in /var/www/owncloud/apps/calendar/templates/part.choosecalendar.php on line 15
Call Stack
# Time Memory Function Location
1 0.0002 246336 {main}( ) ../index.php:0
2 0.0350 1479296 OC::handleRequest( ) ../index.php:28
3 0.0933 2763520 OC::loadAppScriptFile( ) ../base.php:458
4 0.0935 2766888 require_once( '/var/www/owncloud/apps/calendar/calendar.php' ) ../base.php:473
5 0.1015 2917496 OC_Template->printPage( ) ../calendar.php:12
6 0.1015 2917528 OC_Template->fetchPage( ) ../template.php:354
7 0.1015 2917784 OC_Template->_fetch( ) ../template.php:372
8 0.1019 2944360 include(
'/var/www/owncloud/apps/calendar/templates/part.choosecalendar.php' )
../template.php:408
This patch fixes it:
--- part.choosecalendar.php~ 2012-10-24 16:29:16.000000000 +0000
+++ part.choosecalendar.php 2012-10-26 08:58:03.461384913 +0000
@@ -9,6 +9,7 @@
$tmpl->assign('calendar', $option_calendars[$i]);
if ($option_calendars[$i]['userid'] != OCP\User::getUser()) {
$sharedCalendar = OCP\Share::getItemSharedWithBySource('calendar', $option_calendars[$i]['id']);
+ $shared = true;
} else {
$shared = false;
}
@@ -29,4 +30,4 @@
</tr>
</table><br>
</fieldset>
-</form>
\ No newline at end of file
+</form>
More information about the Owncloud
mailing list