mwalbeck / nextcloud-breeze-dark

A Breeze Dark theme for Nextcloud
GNU Affero General Public License v3.0
312 stars 56 forks source link

Error "Enforced theme not found" while it works correctly #344

Closed oscarcp closed 1 month ago

oscarcp commented 1 month ago

Describe the bug I have installed Breeze Dark (for NC 28) on an NC 29.0.4 instance successfully. The theme is correctly applied and I have set it as enforced globally for all users. Despite the theme being applied and obviously existing, I get every few minutes the error "enforced theme not found".

To Reproduce Steps to reproduce the behavior:

  1. Install Breeze Dark on an NC 29.0.4 instance
  2. Activate enforcing the theme globally
  3. See error in logs

Expected behavior No errors should be shown.

Screenshots Screenshot from 2024-07-28 09-52-33

Screenshot from 2024-07-28 09-44-48 Screenshot from 2024-07-28 09-50-53

Setup (please complete the following information):

mwalbeck commented 1 month ago

Thanks for reporting!

I can see there was a recent change to the theming app, that made it so the current way I was doing part of the theme injection caused this. I've changed the implementation, so this should be fixed in the next release.