Календарь сломан после обновления до 3.5.0.beta2

Hi, we just upgraded to 3.5.0.beta2: Review Queue, Welcome Banner, Admin Interface, and more and now our calendar is broken:

Nothing in /logs.

Browser inspector:

Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:281 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-calendar/assets/stylesheets/vendor/fullcalendar.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:285 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:285 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.Default.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/about:285 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/leaflet.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/leaflet.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-locations/assets/lib/leaflet/MarkerCluster.Default.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
13:1 Refused to apply style from 'https://the.socialmusic.network/var/www/discourse/plugins/discourse-calendar/assets/stylesheets/vendor/fullcalendar.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
index.js:78 ℹ️ Discourse v3.5.0.beta3-dev — https://github.com/discourse/discourse/commits/b1924c3524 — Ember v5.12.0
field.js:78 ✅  Using the new 'glimmer' topic list
upload.js:64 ✅  Using the new 'glimmer' post menu!

Any idea about what happened and especially how to solve it? I’m going to rebuild now, but I thought about reporting the problem before, just in case it prevents others getting it as well.

EDIT: rebuilt and still broken.

4 лайка

Another problem: users don’t find the “Create event” link anymore. As an admin, I still can see it. Weird.

3 лайка

Thanks @icaria36 - I see the problem too. Working on it now :eyes:

6 лайков

Fix is now merged, so if you run another update from /admin/upgrade, then that should get things working again @icaria36. Sorry for the disruption!

5 лайков

The calendar view is fixed! :tada:

But I keep not seeing the “Create event” option from my plain test user account, only from my admin account. Has a new permission been introduced?

2 лайка

The setting looks right:

image

2 лайка

“everyone” is a little unusual because it’s not a “real” group. It requires plugins to have special handling, which may not have been done here.

Could you try setting it to “trust_level_0” and see if that helps?

3 лайка

Ok, “trust_level_0” fixed it. Thank you again!

Just in case it helps, users could post events before the upgrade, and we didn’t change the “everyone” after the upgrade. Therefore, either “everyone” was working before or somehow the upgrade placed “everyone” there.

But TL0 works and it’s very clear. We probably won’t touch this setting again. Moving on!

3 лайка

This topic was automatically closed after 20 hours. New replies are no longer allowed.