Tasks: After update to 0.12.0 the tasks app is empty

Created on 8 Mar 2020  路  16Comments  路  Source: nextcloud/tasks

Steps to reproduce

  1. Update to 0.12.0
  2. Open the tasks app
  3. See the screenshot:
    20200308_140636

Expected behaviour

It should show all my tasks

Actual behaviour

It doesn't show any tasks

Server configuration

Operating system:
Ubuntu 18.04 LTS
Web server:
Apache2
Database:
Postgresql
PHP version:
7.2
Nextcloud version: (see Nextcloud admin page)
18.0.1
Tasks version: (see Nextcloud apps page)
0.12.0
Updated from an older Nextcloud or fresh install:
Updated

This problem happens on all OS and Browsers.

This is in the console log:
20200308_140553

bug

Most helpful comment

I have the same symptoms as the author. After upgrading tasks 0.12.0, all existing tasks do not appear. What should I do?

All 16 comments

Does it also happen for all users? On my instances it works just fine.

Can you also please check the requests, especially the ones to the calendars?

Does it also happen for all users? On my instances it works just fine.

No, strangely just for one useraccount. For the others it works fine.

Can you also please check the requests, especially the ones to the calendars?

How do I do that?

I have the same symptoms as the author. After upgrading tasks 0.12.0, all existing tasks do not appear. What should I do?

How do I do that?

Also in the developer tools. In the console you should see a lot of requests to the server when you load the app. There should be one to <ServerAdress>/remote.php/dav/calendars/<user>/ which should return the calendars (as array).

Weirdly, the code https://github.com/nextcloud/tasks/blob/master/src/store/calendars.js#L434-L439 which gives the error hasn't been touched since 0.11.3

I am actually not quite sure what I am exactly looking for.
This is a request for the not working user:
image
and it seems that the browser doesn't make a request to the "aufgaben" calendar, which is the case for another user, that also has the "aufgaben" calendar and sees the tasks calendar...

I might have an idea. Could you please try this build:
tasks.tar.gz

I noticed the same bug. The version of the calendar app is Ver. 2.0.2., Tasks Ver. 0.12.0
In the error log of my browser the following error is displayed:

TypeError: "e.shares is undefined"
    Fri uidToColor.js:101
    t calendars.js:274
    t calendars.js:263
vue.runtime.esm.js:1888:12
    VueJS 4

Downgrade to 0.11.3 version, the existing tasks will be displayed normally.

I might have an idea. Could you please try this build:
tasks.tar.gz

I've tried that but it still doesn't work...

Still the same error? Did you clear the browser cache?

Thanks! after clearing the browser cache it works but now it also shows a subscribed ical calendar, which shouldn't be the case imho, since it is not writeable (and also wasn't shown on 0.11.3)...

And btw: the console is now full of these messages. So many haven't been there before:
image

Thanks! after clearing the browser cache it works but now it also shows a subscribed ical calendar, which shouldn't be the case imho, since it is not writeable (and also wasn't shown on 0.11.3)...

Ok, then I will release v0.12.1 with the fix and we can discuss whether we should show subscribed calendars in a separate issue. Could you please open one @szaimen

These warnings are not critical and we already ship our own version with the app.

The fix is in the appstore, should be visible soon. Let me know if there are still problems, besides #910.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jakobroehrl picture jakobroehrl  路  3Comments

jakobroehrl picture jakobroehrl  路  5Comments

Valdnet picture Valdnet  路  7Comments

raimund-schluessler picture raimund-schluessler  路  3Comments

janvonde picture janvonde  路  8Comments