Fix warrning file_get_contents(modules/contrib/varbase_core/modules/varbase_admin/css/theme/varbase-admin.admin-toolbar.theme.css):

Created on 12 March 2025, 29 days ago

Problem/Motivation

After updating varbase to 10.0.4, warning appear

Warning: file_get_contents(modules/contrib/varbase_core/modules/varbase_admin/css/theme/varbase-admin.admin-toolbar.theme.css): Failed to open stream: No such file or directory in Drupal\system\Controller\CssAssetController->generateHash() (line 43 of core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php).

Proposed resolution

I noticed that in varbase_core/modules/varbase_admin/varbase_admin.libraries.yml, the admin-toolbar library has an incorrect path for the varbase-admin.admin-toolbar.theme.css file. It is located in the css folder, not the theme folder.

We need to either move the file to the theme folder or update the path in the library definition

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
  • ➖ 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 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

  • N/A
🐛 Bug report
Status

Active

Version

10.0

Component

Code

Created by

🇯🇴Jordan Qusai Taha Amman

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