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

Command icon 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

RaniaMashaqbeh created an issue. See original summary.

raniamashaqbeh’s picture

Assigned: raniamashaqbeh » Unassigned
Status: Active » Needs review
raniamashaqbeh’s picture

raniamashaqbeh’s picture

Issue summary: View changes
rajab natshah’s picture

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

rajab natshah’s picture

Thanks, Rania, for reporting and the MR
I confirm the issue

  • Issue #3227033: Remove Quick Edit from core

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.

rajab natshah’s picture

This 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

Changed

Varbase Admin

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

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Title: Fix console error that appears because of requesting a leftover quickedit.css Drupal 9 file in vartheme_claro.info.yml » Fix console error that appears because of requesting a leftover quickedit.css Drupal ~9 file in vartheme_claro.info.yml in Drupal ~10
Assigned: Unassigned » rajab natshah
Issue summary: View changes
Issue tags: +varbase-9.0.17, +varbase-9.1.0, +vartheme_claro-3.0.14
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.0.17

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.1.0

rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.