nextcloud / tasks

:white_check_mark: Tasks app for Nextcloud
https://apps.nextcloud.com/apps/tasks
GNU Affero General Public License v3.0
580 stars 100 forks source link

Unknown css files being called in html (tasks-main.css) #2715

Closed gwire closed 2 weeks ago

gwire commented 3 weeks ago

Steps to reproduce

On visiting any page with a web inspector open, I can see multiple 404 responses.

Expected behavior

I would expect no 404 responses.

Actual behaviour

I have. recently updated to Nextcloud 30, but I didn't check if this happened previously.

I can see the following in the generated html

    <link rel="stylesheet" href="/nextcloud/apps/tasks/css/tasks-dashboard.css?v=f5f692bb-17">
    <link rel="stylesheet" href="/nextcloud/apps/tasks/css/tasks-store.css?v=f5f692bb-17">
    <link rel="stylesheet" href="/nextcloud/apps/tasks/css/tasks-icon.css?v=f5f692bb-17">
    <link rel="stylesheet" href="/nextcloud/apps/tasks/css/tasks-TaskCreateDialog.css?v=f5f692bb-17">
    <link rel="stylesheet" href="/nextcloud/apps/tasks/css/tasks-Plus.css?v=f5f692bb-17">

but tasks-store.css tasks-TaskCreateDialog.css tasks-Plus.css return 404.

My assumption is that this should be just be adding tasks/css/tasks-main.css instead? I can't see anything I can do to enable this. I've flushed redis, and disabled/enabled the tasks app, but no change.

/opt/nextcloud/apps/tasks/css$ ls -l
total 172
-rw-rw-r-- 1 www-data www-data   2896 Nov  4 17:36 dashboard-DSqnlcV-.chunk.css
-rw-rw-r-- 1 www-data www-data 101114 Nov  4 17:36 main-C8OXy9ML.chunk.css
-rw-rw-r-- 1 www-data www-data   1802 Nov  4 17:36 Plus-CnHTUEFt.chunk.css
-rw-rw-r-- 1 www-data www-data  44044 Nov  4 17:36 store-BZeWfrS_.chunk.css
-rw-rw-r-- 1 www-data www-data   1116 Nov  4 17:36 TaskCreateDialog-Cvf7jBdo.chunk.css
-rw-rw-r-- 1 www-data www-data    208 Nov  4 17:36 tasks-dashboard.css
-rw-rw-r-- 1 www-data www-data    237 Nov  4 17:36 tasks-icon.css
-rw-rw-r-- 1 www-data www-data    154 Nov  4 17:36 tasks-main.css
-rw-rw-r-- 1 www-data www-data    129 Nov  4 17:36 tasks-talk.css
/opt/nextcloud/apps/tasks/css$

Tasks app version

0.16.1

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

Nginx

Database engine version

None

PHP engine version

None

Nextcloud version

No response

Updated from an older installed version or fresh install

None

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

PurifyPioneer commented 2 weeks ago

I am also experiencing this exact same issue after upgrading from Nextcloud 28. Though i upgraded the instance only to Nextcloud 29, not 30 so far. I also tried to reinstall the app but to no avail.

raimund-schluessler commented 2 weeks ago

Duplicate of #2665, which was fixed in #2667. The fix will be released with 0.17.0. Until then, you can just ignore it. It has no further effect than some annoying log entries.