Fix console error that appears because of requesting a leftover quickedit.css Drupal ~9 file in vartheme_claro.info.yml in Drupal ~10

Created on 4 December 2023, 10 months ago
Updated 12 December 2023, 10 months ago

Problem/Motivation

I'm facing this error in the browser console with Drupal core 10.1.6:

Refused to apply style from '/core/themes/claro/css/components/quickedit.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

This will happen, when upgrading an old Varbase ~8 site which was upgraded to Varbase ~9, but the quick edit module was not disabled, then to Drupal ~10

✅ Developer Documentation support on feature change/addition

Changed

Varbase Admin

Removed Drupal Core QuickEdit from the table of brings in the following core and contributed modules to your site.

Proposed resolution

Remove the request to quickedit.css from /themes/contrib/vartheme_claro/vartheme_claro.info.yml

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ✅ Developer Documentation support on feature change/addition
    Added

    the Uninstall the Quick Edit module step to the Updating Varbase ~9.0 to Drupal 10 page.

  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.17 , varbase-9.1.0 , vartheme_claro-3.0.14

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇯🇴Jordan RaniaMashaqbeh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024