Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateCalendarResourcesRoomsBackgroundJob fails if no backend available #10203

Closed
juliusknorr opened this issue Jul 11, 2018 · 1 comment
Closed
Labels
1. to develop Accepted and waiting to be taken care of bug
Milestone

Comments

@juliusknorr
Copy link
Member

juliusknorr commented Jul 11, 2018

@georgehrke This should not fail if no backend is available, i guess.

Return value of OC\Calendar\Resource\Manager::getBackends() must be of the type array, null returned

{"reqId":"uo34yCA4vy4szC8muPYg","level":3,"time":"2018-07-11T16:28:38+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"TypeError","Message":"Return value of OC\\Calendar\\Resource\\Manager::getBackends() must be of the type array, null returned","Code":0,"Trace":[{"file":"\/var\/www\/html\/apps\/dav\/lib\/BackgroundJob\/UpdateCalendarResourcesRoomsBackgroundJob.php","line":96,"function":"getBackends","class":"OC\\Calendar\\Resource\\Manager","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/BackgroundJob\/UpdateCalendarResourcesRoomsBackgroundJob.php","line":88,"function":"runResources","class":"OCA\\DAV\\BackgroundJob\\UpdateCalendarResourcesRoomsBackgroundJob","type":"->","args":[]},{"file":"\/var\/www\/html\/lib\/private\/BackgroundJob\/Job.php","line":61,"function":"run","class":"OCA\\DAV\\BackgroundJob\\UpdateCalendarResourcesRoomsBackgroundJob","type":"->","args":[null]},{"file":"\/var\/www\/html\/lib\/private\/BackgroundJob\/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"\/var\/www\/html\/cron.php","line":123,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"\/var\/www\/html\/lib\/private\/Calendar\/Resource\/Manager.php","Line":60,"CustomMessage":"--"},"userAgent":"--","version":"14.0.0.10"}
@georgehrke georgehrke self-assigned this Jul 11, 2018
@georgehrke georgehrke added bug 1. to develop Accepted and waiting to be taken care of labels Jul 11, 2018
@georgehrke georgehrke added this to the Nextcloud 14 milestone Jul 11, 2018
@nickvergessen
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug
Projects
None yet
Development

No branches or pull requests

3 participants