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
ChangedVarbase 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
Addedthe 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
- Issue #3405991 by RaniaMashaqbeh: Fixed console error that appears because of requesting a leftover
quickedit.cssDrupal ~9 file invartheme_claro.info.ymlin Drupal ~10
Addedthe Uninstall the Quick Edit module step to the Updating Varbase ~9.0 to Drupal 10 page.
Issue fork vartheme_claro-3405991
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
raniamashaqbeh commentedComment #4
raniamashaqbeh commentedComment #5
raniamashaqbeh commentedComment #6
rajab natshahComment #8
rajab natshahThanks, Rania, for reporting and the MR
I confirm the issue
The Quick Edit should be uninstalled when upgrading, or require it for needed projects
Varbase no longer need it
Thank you, for reporting again. It is an important issue when upgrading to Drupal 10
Editing the Updating Varbase ~9.0 to Drupal 10 page to have a step of uninstalling the Quick Edit module.
Comment #9
rajab natshahThis will happen, when upgrading an old Varbase ~8 site which was upgraded to Varbase ~9, then to Drupal ~10
#3236754: Remove the Quick Edit module from Varbase install
#3227033: Remove Quick Edit from core
✅ Developer Documentation support on feature change/addition
Varbase Admin
Removed Drupal Core QuickEdit from the table of brings in the following core and contributed modules to your site.
Comment #10
rajab natshahComment #11
rajab natshahComment #12
rajab natshahComment #13
rajab natshah✅ Released vartheme_claro-3.0.14
Comment #14
rajab natshahComment #15
rajab natshah✅ Released varbase-9.0.17
Comment #16
rajab natshah✅ Released varbase-9.1.0
Comment #17
rajab natshah